|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.cloudwatch.CloudWatch
public class CloudWatch
Utilities for using CloudWatch.
| Constructor Summary | |
|---|---|
CloudWatch()
|
|
| Method Summary | |
|---|---|
static Iterable<Metric> |
listMetrics(CloudWatchApi cloudWatchApi,
String region,
ListMetricsOptions options)
List metrics based on the criteria in the ListMetricsOptions passed in. |
static Iterable<Metric> |
listMetrics(MetricApi metricApi,
ListMetricsOptions options)
List metrics based on the criteria in the ListMetricsOptions passed in. |
static void |
putMetricData(CloudWatchApi cloudWatchApi,
String region,
Iterable<MetricDatum> metrics,
String namespace)
Pushes metrics to CloudWatch. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CloudWatch()
| Method Detail |
|---|
public static Iterable<Metric> listMetrics(MetricApi metricApi,
ListMetricsOptions options)
ListMetricsOptions passed in.
metricApi - the MetricApi to use for the requestoptions - the ListMetricsOptions describing the ListMetrics request
public static Iterable<Metric> listMetrics(CloudWatchApi cloudWatchApi,
String region,
ListMetricsOptions options)
ListMetricsOptions passed in.
cloudWatchApi - the CloudWatchApi to use for the requestregion - the region to list metrics inoptions - the options describing the ListMetrics request
public static void putMetricData(CloudWatchApi cloudWatchApi,
String region,
Iterable<MetricDatum> metrics,
String namespace)
cloudWatchApi - the CloudWatchApi to use for the requestregion - the region to put the metrics inmetrics - the metrics to publishnamespace - the namespace to publish the metrics in
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||