org.jclouds.cloudwatch.features
Interface MetricAsyncApi


public interface MetricAsyncApi

Provides access to Amazon CloudWatch via the Query API

Author:
Jeremy Whitlock
See Also:

Method Summary
 com.google.common.util.concurrent.ListenableFuture<? extends GetMetricStatisticsResponse> getMetricStatistics(GetMetricStatistics statistics)
           
 com.google.common.util.concurrent.ListenableFuture<? extends GetMetricStatisticsResponse> getMetricStatistics(GetMetricStatistics statistics, GetMetricStatisticsOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<? extends org.jclouds.collect.PagedIterable<Metric>> list()
           
 com.google.common.util.concurrent.ListenableFuture<? extends org.jclouds.collect.IterableWithMarker<Metric>> list(ListMetricsOptions options)
           
 com.google.common.util.concurrent.ListenableFuture<Void> putMetricsInNamespace(Iterable<MetricDatum> metrics, String namespace)
           
 

Method Detail

list

@Named(value="ListMetrics")
com.google.common.util.concurrent.ListenableFuture<? extends org.jclouds.collect.PagedIterable<Metric>> list()
See Also:
MetricApi.list()

list

@Named(value="ListMetrics")
com.google.common.util.concurrent.ListenableFuture<? extends org.jclouds.collect.IterableWithMarker<Metric>> list(ListMetricsOptions options)
See Also:
MetricApi.list(ListMetricsOptions)

getMetricStatistics

@Named(value="GetMetricStatistics")
com.google.common.util.concurrent.ListenableFuture<? extends GetMetricStatisticsResponse> getMetricStatistics(GetMetricStatistics statistics)
See Also:
MetricApi.getMetricStatistics(GetMetricStatistics)

getMetricStatistics

@Named(value="GetMetricStatistics")
com.google.common.util.concurrent.ListenableFuture<? extends GetMetricStatisticsResponse> getMetricStatistics(GetMetricStatistics statistics,
                                                                                                                    GetMetricStatisticsOptions options)
See Also:
MetricApi.getMetricStatistics(GetMetricStatistics, GetMetricStatisticsOptions)

putMetricsInNamespace

@Named(value="PutMetricData")
com.google.common.util.concurrent.ListenableFuture<Void> putMetricsInNamespace(Iterable<MetricDatum> metrics,
                                                                                     String namespace)
See Also:
MetricApi.putMetricsInNamespace(Iterable, String)


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.