Enum AWSRequestMetrics.Field

    • Enum Constant Detail

      • ClientExecuteTime

        public static final AWSRequestMetrics.Field ClientExecuteTime
        Total number of milliseconds taken for a request/response including the time taken to execute the request handlers, round trip to AWS, and the time taken to execute the response handlers.
      • ThrottleException

        public static final AWSRequestMetrics.Field ThrottleException
        Used to count and preserve the throttle related exceptions.
      • HttpRequestTime

        public static final AWSRequestMetrics.Field HttpRequestTime
        Number of milliseconds taken for a request/response round trip to AWS.
      • RequestSigningTime

        public static final AWSRequestMetrics.Field RequestSigningTime
        Number of milliseconds taken to sign a request.
      • ResponseProcessingTime

        public static final AWSRequestMetrics.Field ResponseProcessingTime
        Number of milliseconds taken to execute the response handler for a response from AWS.
      • RetryCount

        public static final AWSRequestMetrics.Field RetryCount
        Number of retries of AWS SDK sending a request to AWS.
      • RetryCapacityConsumed

        public static final AWSRequestMetrics.Field RetryCapacityConsumed
        Snapshot of currently consumed retry capacity.
      • HttpClientRetryCount

        public static final AWSRequestMetrics.Field HttpClientRetryCount
        Number of retries of the underlying http client library in sending a request to AWS.
      • HttpClientSendRequestTime

        public static final AWSRequestMetrics.Field HttpClientSendRequestTime
        Time taken to send a request to AWS by the http client library, excluding any retry.
      • HttpClientReceiveResponseTime

        public static final AWSRequestMetrics.Field HttpClientReceiveResponseTime
        Time taken to receive a response from AWS by the http client library, excluding any retry.
      • HttpSocketReadTime

        public static final AWSRequestMetrics.Field HttpSocketReadTime
        Time taken for socket to read.
      • HttpClientPoolAvailableCount

        public static final AWSRequestMetrics.Field HttpClientPoolAvailableCount
        The number of idle persistent connections.

        Reference: https://hc.apache .org/httpcomponents-core-ga/httpcore/apidocs/org/apache /http/pool/PoolStats.html

      • HttpClientPoolLeasedCount

        public static final AWSRequestMetrics.Field HttpClientPoolLeasedCount
        The number of persistent connections tracked by the connection manager currently being used to execute requests.

        Reference: https://hc .apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache /http/pool/PoolStats.html

      • HttpClientPoolPendingCount

        public static final AWSRequestMetrics.Field HttpClientPoolPendingCount
        The number of connection requests being blocked awaiting a free connection.

        Reference: https://hc.apache.org/httpcomponents-core-ga/httpcore /apidocs/org/apache/http/pool/PoolStats.html

    • Method Detail

      • values

        public static AWSRequestMetrics.Field[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AWSRequestMetrics.Field c : AWSRequestMetrics.Field.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AWSRequestMetrics.Field valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null