public final class StatisticsFromAwsSdkImpl extends Object implements StatisticsFromAwsSdk
Durations are not currently being used; that could be changed in future once an effective strategy for reporting them is determined.
| Constructor and Description |
|---|
StatisticsFromAwsSdkImpl(CountersAndGauges countersAndGauges) |
| Modifier and Type | Method and Description |
|---|---|
void |
noteAwsClientExecuteTime(Duration duration)
Record how long a request took to execute on the
client.
|
void |
noteAwsRequestTime(Duration duration)
Record how long a request took overall.
|
void |
noteRequestMarshallTime(Duration duration)
Record how long a request took to marshall into
XML.
|
void |
noteRequestSigningTime(Duration duration)
Record how long a request took to sign, including
any calls to EC2 credential endpoints.
|
void |
noteResponseProcessingTime(Duration duration)
Record how long it took to process the response.
|
void |
updateAwsRequestCount(long count)
Record a number of AWS requests.
|
void |
updateAwsRetryCount(long count)
Record a number of AWS request retries.
|
void |
updateAwsThrottleExceptionsCount(long count)
Record a number of throttle exceptions received.
|
public StatisticsFromAwsSdkImpl(CountersAndGauges countersAndGauges)
public void updateAwsRequestCount(long count)
StatisticsFromAwsSdkupdateAwsRequestCount in interface StatisticsFromAwsSdkcount - number of events.public void updateAwsRetryCount(long count)
StatisticsFromAwsSdkupdateAwsRetryCount in interface StatisticsFromAwsSdkcount - number of events.public void updateAwsThrottleExceptionsCount(long count)
StatisticsFromAwsSdkupdateAwsThrottleExceptionsCount in interface StatisticsFromAwsSdkcount - number of events.public void noteAwsRequestTime(Duration duration)
StatisticsFromAwsSdknoteAwsRequestTime in interface StatisticsFromAwsSdkduration - duration of operation.public void noteAwsClientExecuteTime(Duration duration)
StatisticsFromAwsSdknoteAwsClientExecuteTime in interface StatisticsFromAwsSdkduration - duration of operation.public void noteRequestMarshallTime(Duration duration)
StatisticsFromAwsSdknoteRequestMarshallTime in interface StatisticsFromAwsSdkduration - duration of operation.public void noteRequestSigningTime(Duration duration)
StatisticsFromAwsSdknoteRequestSigningTime in interface StatisticsFromAwsSdkduration - duration of operation.public void noteResponseProcessingTime(Duration duration)
StatisticsFromAwsSdknoteResponseProcessingTime in interface StatisticsFromAwsSdkduration - duration of operation.Copyright © 2008–2022 Apache Software Foundation. All rights reserved.