@ThreadSafe public class MetricCollectorSupport extends MetricCollector
RequestMetricCollector
MetricCollector.Factory
NONE
Modifier and Type | Method and Description |
---|---|
AmazonCloudWatchClient |
getCloudwatchClient() |
CloudWatchMetricConfig |
getConfig()
Returns the configuration.
|
RequestMetricCollector |
getRequestMetricCollector() |
ServiceMetricCollector |
getServiceMetricCollector() |
boolean |
isEnabled()
Always returns true.
|
boolean |
start()
Starts the request metric collector.
|
boolean |
stop()
Stops this collector immediately, dropping all pending metrics in memory.
|
public boolean start()
MetricCollector
start
in class MetricCollector
public boolean stop()
stop
in class MetricCollector
public CloudWatchMetricConfig getConfig()
public AmazonCloudWatchClient getCloudwatchClient()
public final boolean isEnabled()
isEnabled
in class MetricCollector
public RequestMetricCollector getRequestMetricCollector()
getRequestMetricCollector
in class MetricCollector
public ServiceMetricCollector getServiceMetricCollector()
getServiceMetricCollector
in class MetricCollector