RequestMetricCollectorSupport
public abstract class RequestMetricCollector extends Object
AwsSdkMetrics
Modifier and Type | Class | Description |
---|---|---|
static interface |
RequestMetricCollector.Factory |
Can be used to serve as a factory for the request metric collector.
|
Modifier and Type | Field | Description |
---|---|---|
static RequestMetricCollector |
NONE |
A convenient instance of a no-op request metric collector.
|
Constructor | Description |
---|---|
RequestMetricCollector() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
collectMetrics(Request<?> request,
Object response) |
Used to collect the metric at the end of a request/response cycle.
|
boolean |
isEnabled() |
public static final RequestMetricCollector NONE
public abstract void collectMetrics(Request<?> request, Object response)
Request.getAwsRequestMetrics()
public boolean isEnabled()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.