@ThreadSafe public class DynamoDBRequestMetricTransformer extends Object implements RequestMetricTransformer
AWSMetricTransformerFactory
RequestMetricTransformer.Utils
NONE
Constructor and Description |
---|
DynamoDBRequestMetricTransformer() |
Modifier and Type | Method and Description |
---|---|
List<MetricDatum> |
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.
|
public List<MetricDatum> toMetricData(MetricType metricType, Request<?> request, Response<?> response)
RequestMetricTransformer
Note returning an empty list means the transformer recognized the metric type but concluded there is no metrics to be generated for it.
toMetricData
in interface RequestMetricTransformer
metricType
- the predefined metric typeCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.