Interface StatisticsFromAwsSdk

All Known Implementing Classes:
StatisticsFromAwsSdkImpl

public interface StatisticsFromAwsSdk
interface to receive statistics events from the AWS SDK by way of AwsStatisticsCollector.
  • 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

      void noteAwsRequestTime(Duration duration)
      Record how long a request took overall.
      Parameters:
      duration - duration of operation.
    • noteAwsClientExecuteTime

      void noteAwsClientExecuteTime(Duration duration)
      Record how long a request took to execute on the client.
      Parameters:
      duration - duration of operation.
    • noteRequestMarshallTime

      void noteRequestMarshallTime(Duration duration)
      Record how long a request took to marshall into XML.
      Parameters:
      duration - duration of operation.
    • noteRequestSigningTime

      void noteRequestSigningTime(Duration duration)
      Record how long a request took to sign, including any calls to EC2 credential endpoints.
      Parameters:
      duration - duration of operation.
    • noteResponseProcessingTime

      void noteResponseProcessingTime(Duration duration)
      Record how long it took to process the response.
      Parameters:
      duration - duration of operation.