@ThreadSafe
public class ServiceMetricCollectorSupport
extends com.amazonaws.metrics.ServiceMetricCollector
RequestMetricCollector| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Modifier | Constructor and Description |
|---|---|
protected |
ServiceMetricCollectorSupport(BlockingQueue<MetricDatum> queue) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addMetricsToQueue(MetricDatum metric)
Adds the given metric to the queue, returning true if successful or false
if no space available.
|
void |
collectByteThroughput(com.amazonaws.metrics.ByteThroughputProvider provider) |
void |
collectLatency(com.amazonaws.metrics.ServiceLatencyProvider provider) |
protected ServiceMetricCollectorSupport(BlockingQueue<MetricDatum> queue)
public void collectByteThroughput(com.amazonaws.metrics.ByteThroughputProvider provider)
collectByteThroughput in class com.amazonaws.metrics.ServiceMetricCollectorpublic void collectLatency(com.amazonaws.metrics.ServiceLatencyProvider provider)
collectLatency in class com.amazonaws.metrics.ServiceMetricCollectorprotected boolean addMetricsToQueue(MetricDatum metric)
Copyright © 2014. All rights reserved.