Interface StatisticsFromAwsSdk
- All Known Implementing Classes:
StatisticsFromAwsSdkImpl
public interface StatisticsFromAwsSdk
interface to receive statistics events from the AWS SDK
by way of
AwsStatisticsCollector.-
Method Summary
Modifier and TypeMethodDescriptionvoidnoteAwsClientExecuteTime(Duration duration) Record how long a request took to execute on the client.voidnoteAwsRequestTime(Duration duration) Record how long a request took overall.voidnoteRequestMarshallTime(Duration duration) Record how long a request took to marshall into XML.voidnoteRequestSigningTime(Duration duration) Record how long a request took to sign, including any calls to EC2 credential endpoints.voidnoteResponseProcessingTime(Duration duration) Record how long it took to process the response.voidupdateAwsRequestCount(long count) Record a number of AWS requests.voidupdateAwsRetryCount(long count) Record a number of AWS request retries.voidupdateAwsThrottleExceptionsCount(long count) Record a number of throttle exceptions received.
-
Method Details
-
updateAwsRequestCount
void updateAwsRequestCount(long count) Record a number of AWS requests.- Parameters:
count- number of events.
-
updateAwsRetryCount
void updateAwsRetryCount(long count) Record a number of AWS request retries.- Parameters:
count- number of events.
-
updateAwsThrottleExceptionsCount
void updateAwsThrottleExceptionsCount(long count) Record a number of throttle exceptions received.- Parameters:
count- number of events.
-
noteAwsRequestTime
Record how long a request took overall.- Parameters:
duration- duration of operation.
-
noteAwsClientExecuteTime
Record how long a request took to execute on the client.- Parameters:
duration- duration of operation.
-
noteRequestMarshallTime
Record how long a request took to marshall into XML.- Parameters:
duration- duration of operation.
-
noteRequestSigningTime
Record how long a request took to sign, including any calls to EC2 credential endpoints.- Parameters:
duration- duration of operation.
-
noteResponseProcessingTime
Record how long it took to process the response.- Parameters:
duration- duration of operation.
-