Package com.amazonaws.util
Enum AWSRequestMetrics.Field
- All Implemented Interfaces:
MetricType
,RequestMetricType
,Serializable
,Comparable<AWSRequestMetrics.Field>
,java.lang.constant.Constable
- Enclosing class:
- AWSRequestMetrics
public static enum AWSRequestMetrics.Field
extends Enum<AWSRequestMetrics.Field>
implements RequestMetricType
Predefined AWS SDK metric types general across all AWS clients. Client
specific predefined metrics like S3 or DynamoDB are defined in the client
specific packages.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTotal 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.The number of idle persistent connections.The number of persistent connections tracked by the connection manager currently being used to execute requests.The number of connection requests being blocked awaiting a free connection.Time taken to receive a response from AWS by the http client library, excluding any retry.Number of retries of the underlying http client library in sending a request to AWS.Time taken to send a request to AWS by the http client library, excluding any retry.Number of milliseconds taken for a request/response round trip to AWS.Time taken for socket to read.Number of requests to AWS.Number of milliseconds taken to sign a request.Number of milliseconds taken to execute the response handler for a response from AWS.Snapshot of currently consumed retry capacity.Number of retries of AWS SDK sending a request to AWS.Used to count and preserve the throttle related exceptions. -
Method Summary
Modifier and TypeMethodDescriptionstatic AWSRequestMetrics.Field
Returns the enum constant of this type with the specified name.static AWSRequestMetrics.Field[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.amazonaws.metrics.MetricType
name
-
Enum Constant Details
-
AWSErrorCode
-
AWSRequestID
-
BytesProcessed
-
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. -
CredentialsRequestTime
-
Exception
-
ThrottleException
Used to count and preserve the throttle related exceptions. -
HttpRequestTime
Number of milliseconds taken for a request/response round trip to AWS. -
RedirectLocation
-
RequestMarshallTime
-
RequestSigningTime
Number of milliseconds taken to sign a request. -
ResponseProcessingTime
Number of milliseconds taken to execute the response handler for a response from AWS. -
RequestCount
Number of requests to AWS. -
RetryCount
Number of retries of AWS SDK sending a request to AWS. -
RetryCapacityConsumed
Snapshot of currently consumed retry capacity. -
HttpClientRetryCount
Number of retries of the underlying http client library in sending a request to AWS. -
HttpClientSendRequestTime
Time taken to send a request to AWS by the http client library, excluding any retry. -
HttpClientReceiveResponseTime
Time taken to receive a response from AWS by the http client library, excluding any retry. -
HttpSocketReadTime
Time taken for socket to read. -
HttpClientPoolAvailableCount
The number of idle persistent connections.Reference: https://hc.apache .org/httpcomponents-core-ga/httpcore/apidocs/org/apache /http/pool/PoolStats.html
-
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
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
-
RetryPauseTime
-
ServiceEndpoint
-
ServiceName
-
StatusCode
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-