Package com.amazonaws.metrics
Class RequestMetricCollector
java.lang.Object
com.amazonaws.metrics.RequestMetricCollector
- Direct Known Subclasses:
RequestMetricCollectorSupport
A service provider interface that can be used to implement an AWS SDK
request/response metric collector.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Can be used to serve as a factory for the request metric collector. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RequestMetricCollector
A convenient instance of a no-op request metric collector. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
collectMetrics
(Request<?> request, Response<?> response) Used to collect the metric at the end of a request/response cycle.boolean
-
Field Details
-
NONE
A convenient instance of a no-op request metric collector.
-
-
Constructor Details
-
RequestMetricCollector
public RequestMetricCollector()
-
-
Method Details
-
collectMetrics
Used to collect the metric at the end of a request/response cycle.- See Also:
-
isEnabled
public boolean isEnabled()
-