Package | Description |
---|---|
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.metrics.internal.cloudwatch |
Modifier and Type | Field and Description |
---|---|
private static MetricCollector |
AwsSdkMetrics.mc |
static MetricCollector |
MetricCollector.NONE
A convenient instance of a no-op request metric collector.
|
Modifier and Type | Method and Description |
---|---|
static <T extends MetricCollector> |
AwsSdkMetrics.getMetricCollector() |
Modifier and Type | Method and Description |
---|---|
MetricCollector |
MetricCollector.Factory.getInstance()
Returns an instance of the collector; or null if if failed to create
one.
|
(package private) static MetricCollector |
AwsSdkMetrics.getInternalMetricCollector()
This method should never be called by anyone except the JMX MBean used
for administrative purposes only.
|
Modifier and Type | Method and Description |
---|---|
static void |
AwsSdkMetrics.setMetricCollector(MetricCollector mc)
Sets the metric collector to be used by the AWS SDK, and stop the
previously running collector used by the AWS SDK, if any.
|
Modifier and Type | Class and Description |
---|---|
class |
MetricCollectorSupport
This is the default implementation of an AWS SDK request metric collection
system.
|
Modifier and Type | Method and Description |
---|---|
MetricCollector |
DefaultMetricCollectorFactory.getInstance()
Returns a instance of the Amazon CloudWatch request metric collector either by
starting up a new one or returning an existing one if it's already
started; null if any failure.
|