com.amazonaws.metrics
Class RequestMetricCollector
java.lang.Object
com.amazonaws.metrics.RequestMetricCollector
public abstract class RequestMetricCollector
- extends Object
A service provider interface that can be used to implement an AWS SDK
request/response metric collector.
- See Also:
AwsSdkMetrics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final RequestMetricCollector NONE
- A convenient instance of a no-op request metric collector.
RequestMetricCollector
public RequestMetricCollector()
collectMetrics
public abstract void collectMetrics(Request<?> request,
Response<?> response)
- Used to collect the metric at the end of a request/response cycle.
- See Also:
Request.getAWSRequestMetrics()
isEnabled
public boolean isEnabled()
Copyright © 2016. All rights reserved.