Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.http | |
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
Modifier and Type | Method and Description |
---|---|
protected RequestMetricCollector |
AmazonWebServiceClient.findRequestMetricCollector(Request<?> req)
Returns the most specific request metric collector, starting from the
request level, then client level, then finally the AWS SDK level.
|
RequestMetricCollector |
AmazonWebServiceRequest.getRequestMetricCollector()
Returns a request level metric collector; or null if not specified.
|
RequestMetricCollector |
AmazonWebServiceClient.getRequestMetricsCollector()
Returns the client specific
RequestMetricCollector ; or null if
there is none. |
protected RequestMetricCollector |
AmazonWebServiceClient.requestMetricCollector()
Returns the client specific request metric collector if there is one; or
the one at the AWS SDK level otherwise.
|
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceRequest.setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Sets a request level request metric collector which takes precedence over
the ones at the http client level and AWS SDK level.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withRequestMetricCollector(RequestMetricCollector metricCollector)
Specifies a request level metric collector which takes precedence over
the ones at the http client level and AWS SDK level.
|
Constructor and Description |
---|
AmazonWebServiceClient(ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new AmazonWebServiceClient object using the specified
configuration and request metric collector.
|
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
AmazonHttpClient.getRequestMetricCollector()
Returns the http client specific request metric collector; or null if
there is none.
|
Constructor and Description |
---|
AmazonHttpClient(ClientConfiguration config,
RequestMetricCollector requestMetricCollector)
Constructs a new AWS client using the specified client configuration
options (ex: max retry attempts, proxy settings, etc), and request metric
collector.
|
Modifier and Type | Field and Description |
---|---|
static RequestMetricCollector |
RequestMetricCollector.NONE
A convenient instance of a no-op request metric collector.
|
Modifier and Type | Method and Description |
---|---|
static <T extends RequestMetricCollector> |
AwsSdkMetrics.getRequestMetricCollector()
Returns a non-null request metric collector for the SDK.
|
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
RequestMetricCollector.Factory.getRequestMetricCollector()
Returns an instance of the collector; or null if if failed to create
one.
|
abstract RequestMetricCollector |
MetricCollector.getRequestMetricCollector() |
Copyright © 2015. All rights reserved.