public interface MetricApi
MetricAsyncApi
,
Modifier and Type | Method and Description |
---|---|
GetMetricStatisticsResponse |
getMetricStatistics(GetMetricStatistics statistics) |
GetMetricStatisticsResponse |
getMetricStatistics(GetMetricStatistics statistics,
GetMetricStatisticsOptions options)
Gets statistics for the specified metric.
|
PagedIterable<Metric> |
list() |
IterableWithMarker<Metric> |
list(ListMetricsOptions options)
Returns a list of valid metrics stored for the AWS account owner.
|
void |
putMetricsInNamespace(Iterable<MetricDatum> metrics,
String namespace)
Publishes metric data points to Amazon CloudWatch.
|
IterableWithMarker<Metric> list(ListMetricsOptions options)
ListMetricsResponse.getNextToken()
) value with
subsequent calls .To retrieve all available metrics with one call, use
CloudWatch.listMetrics(MetricApi,
org.jclouds.cloudwatch.options.ListMetricsOptions)
options
- the options describing the metrics queryPagedIterable<Metric> list()
GetMetricStatisticsResponse getMetricStatistics(GetMetricStatistics statistics, GetMetricStatisticsOptions options)
statistics
- the statistics to gatheroptions
- the options describing the metric statistics queryGetMetricStatisticsResponse getMetricStatistics(GetMetricStatistics statistics)
void putMetricsInNamespace(Iterable<MetricDatum> metrics, String namespace)
metrics
- the metrics to publishnamespace
- the namespace to publish the metrics toCopyright © 2009-2013 jclouds. All Rights Reserved.