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 com.amazonaws.metrics.ServiceMetricCollector
ServiceMetricCollector.Factory
-
Field Summary
FieldsFields inherited from class com.amazonaws.metrics.ServiceMetricCollector
NONE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
addMetricsToQueue
(MetricDatum metric) Adds the given metric to the queue, returning true if successful or false if no space available.void
collectByteThroughput
(ByteThroughputProvider provider) Collects metrics on the number of bytes written or read and the respective duration.void
collectLatency
(ServiceLatencyProvider provider) Collects metrics for non-request specific latencies.Methods inherited from class com.amazonaws.metrics.ServiceMetricCollector
isEnabled
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
ServiceMetricCollectorSupport
-
-
Method Details
-
collectByteThroughput
Description copied from class:ServiceMetricCollector
Collects metrics on the number of bytes written or read and the respective duration.- Specified by:
collectByteThroughput
in classServiceMetricCollector
-
collectLatency
Description copied from class:ServiceMetricCollector
Collects metrics for non-request specific latencies.- Specified by:
collectLatency
in classServiceMetricCollector
-
addMetricsToQueue
Adds the given metric to the queue, returning true if successful or false if no space available.
-