com.amazonaws.metrics
Class ServiceMetricCollector
java.lang.Object
com.amazonaws.metrics.ServiceMetricCollector
public abstract class ServiceMetricCollector
- extends Object
A service provider interface that can be used to implement an AWS SDK
general purpose metric collector.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final ServiceMetricCollector NONE
- A convenient instance of a no-op service metric collector.
ServiceMetricCollector
public ServiceMetricCollector()
collectByteThroughput
public abstract void collectByteThroughput(ByteThroughputProvider provider)
- Collects metrics on the number of bytes written or read and the respective
duration.
collectLatency
public abstract void collectLatency(ServiceLatencyProvider provider)
- Collects metrics for non-request specific latencies.
isEnabled
public boolean isEnabled()
Copyright © 2016. All rights reserved.