public interface RequestMetricTransformer
Object.equals(Object) and
Object.hashCode() methods are overridden as necessary.| Modifier and Type | Interface and Description |
|---|---|
static class |
RequestMetricTransformer.Utils
Common utilities for implementing this SPI.
|
| Modifier and Type | Field and Description |
|---|---|
static RequestMetricTransformer |
NONE
A convenient instance of a no-op request metric transformer.
|
| Modifier and Type | Method and Description |
|---|---|
List<MetricDatum> |
toMetricData(com.amazonaws.metrics.MetricType metricType,
com.amazonaws.Request<?> request,
com.amazonaws.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.
|
static final RequestMetricTransformer NONE
List<MetricDatum> toMetricData(com.amazonaws.metrics.MetricType metricType, com.amazonaws.Request<?> request, com.amazonaws.Response<?> response)
Note returning an empty list means the transformer recognized the metric type but concluded there is no metrics to be generated for it.
metricType - the predefined metric typeCopyright © 2014. All rights reserved.