@ThreadSafe public class DynamoDBRequestMetricTransformer extends Object implements RequestMetricTransformer
AWSMetricTransformerFactoryRequestMetricTransformer.UtilsNONE| 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)
RequestMetricTransformerNote 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 RequestMetricTransformermetricType - the predefined metric typeCopyright © 2016. All rights reserved.