public abstract class RequestMetricCollector extends Object
AwsSdkMetrics
Modifier and Type | Class and Description |
---|---|
static interface |
RequestMetricCollector.Factory
Can be used to serve as a factory for the request metric collector.
|
Modifier and Type | Field and Description |
---|---|
static RequestMetricCollector |
NONE
A convenient instance of a no-op request metric collector.
|
Constructor and Description |
---|
RequestMetricCollector() |
Modifier and Type | Method and Description |
---|---|
abstract void |
collectMetrics(Request<?> request,
Response<?> 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, Response<?> response)
Request.getAWSRequestMetrics()
public boolean isEnabled()
Copyright © 2024. All rights reserved.