Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.handlers | |
com.amazonaws.http | |
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.metrics.internal.cloudwatch | |
com.amazonaws.metrics.internal.cloudwatch.provider.transform | |
com.amazonaws.metrics.internal.cloudwatch.spi |
Modifier and Type | Method and Description |
---|---|
protected void |
AmazonWebServiceClient.endClientExecution(AWSRequestMetrics awsRequestMetrics,
Request<?> request,
Response<?> response)
Convenient method to end the client execution without logging the
awsRequestMetrics.
|
protected void |
AmazonWebServiceClient.endClientExecution(AWSRequestMetrics awsRequestMetrics,
Request<?> request,
Response<?> response,
boolean loggingAwsRequestMetrics)
Common routine to end a client AWS request/response execution and collect
the request metrics.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
RequestHandler2.afterError(Request<?> request,
Response<?> response,
Exception e)
Runs any additional processing logic on a request after it has failed.
|
abstract void |
RequestHandler2.afterResponse(Request<?> request,
Response<?> response)
Runs any additional processing logic on the specified request (after is
has been executed by the client runtime).
|
Modifier and Type | Method and Description |
---|---|
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Executes the request and returns the result.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
RequestMetricCollector.collectMetrics(Request<?> request,
Response<?> response)
Used to collect the metric at the end of a request/response cycle.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestMetricCollectorSupport.collectMetrics(Request<?> request,
Response<?> response)
Collects the metrics at the end of a request/response cycle, transforms
the metric data points into a cloud watch metric datum representation,
and then adds it to a memory queue so it will get summarized into the
necessary statistics and uploaded to Amazon CloudWatch.
|
List<MetricDatum> |
PredefinedMetricTransformer.toMetricData(MetricType metricType,
Request<?> request,
Response<?> response)
Returns a non-null list of metric datum for the metrics collected for the
given request/response.
|
Modifier and Type | Method and Description |
---|---|
List<MetricDatum> |
DynamoDBRequestMetricTransformer.toMetricData(MetricType metricType,
Request<?> request,
Response<?> response) |
Modifier and Type | Method and Description |
---|---|
List<MetricDatum> |
RequestMetricTransformer.toMetricData(MetricType metricType,
Request<?> request,
Response<?> response)
Returns a list of metric datum for the metrics collected for the given
request/response, or null if this transformer does not recognize the
specific input metric type.
|
Copyright © 2016. All rights reserved.