Class ServiceMetricCollectorSupport
java.lang.Object
com.amazonaws.metrics.ServiceMetricCollector
com.amazonaws.metrics.internal.cloudwatch.ServiceMetricCollectorSupport
This is the default implementation of an AWS SDK service metric collection
system.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ServiceMetricCollector
ServiceMetricCollector.Factory -
Field Summary
FieldsFields inherited from class ServiceMetricCollector
NONE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddMetricsToQueue(MetricDatum metric) Adds the given metric to the queue, returning true if successful or false if no space available.voidcollectByteThroughput(ByteThroughputProvider provider) Collects metrics on the number of bytes written or read and the respective duration.voidcollectLatency(ServiceLatencyProvider provider) Collects metrics for non-request specific latencies.Methods inherited from class ServiceMetricCollector
isEnabled
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
ServiceMetricCollectorSupport
-
-
Method Details
-
collectByteThroughput
Description copied from class:ServiceMetricCollectorCollects metrics on the number of bytes written or read and the respective duration.- Specified by:
collectByteThroughputin classServiceMetricCollector
-
collectLatency
Description copied from class:ServiceMetricCollectorCollects metrics for non-request specific latencies.- Specified by:
collectLatencyin classServiceMetricCollector
-
addMetricsToQueue
Adds the given metric to the queue, returning true if successful or false if no space available.
-