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.
|
AmazonWebServiceClient(ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector,
boolean disableStrictHostNameVerification) |
Modifier and Type | Method and Description |
---|---|
RequestMetricCollector |
AmazonHttpClient.getRequestMetricCollector()
Returns the httpClientSettings client specific request metric collector; or null if there is none.
|
Constructor and Description |
---|
AmazonHttpClient(ClientConfiguration clientConfig,
ConnectionManagerAwareHttpClient httpClient,
RequestMetricCollector requestMetricCollector)
Package-protected constructor for unit test purposes.
|
AmazonHttpClient(ClientConfiguration config,
RequestMetricCollector requestMetricCollector)
Constructs a new AWS client using the specified client configuration options (ex: max retry attempts, proxy
httpClientSettings, etc), and request metric collector.
|
AmazonHttpClient(ClientConfiguration config,
RequestMetricCollector requestMetricCollector,
boolean useBrowserCompatibleHostNameVerifier)
Constructs a new AWS client using the specified client configuration options (ex: max retry attempts, proxy
httpClientSettings, 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 |
---|---|
abstract RequestMetricCollector |
MetricCollector.getRequestMetricCollector() |
RequestMetricCollector |
RequestMetricCollector.Factory.getRequestMetricCollector()
Returns an instance of the collector; or null if if failed to create
one.
|
Copyright © 2016. All rights reserved.