com.amazonaws.util
Enum AWSRequestMetrics.Field

java.lang.Object
  extended by java.lang.Enum<AWSRequestMetrics.Field>
      extended by com.amazonaws.util.AWSRequestMetrics.Field
All Implemented Interfaces:
com.amazonaws.metrics.MetricType, com.amazonaws.metrics.RequestMetricType, java.io.Serializable, java.lang.Comparable<AWSRequestMetrics.Field>
Enclosing class:
AWSRequestMetrics

public static enum AWSRequestMetrics.Field
extends java.lang.Enum<AWSRequestMetrics.Field>
implements com.amazonaws.metrics.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.


Enum Constant Summary
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
           
HttpClientPoolAvailableCount
          The number of idle persistent connections.
HttpClientPoolLeasedCount
          The number of persistent connections tracked by the connection manager currently being used to execute requests.
HttpClientPoolPendingCount
          The number of connection requests being blocked awaiting a free connection.
HttpClientReceiveResponseTime
          Time taken to receive a response from AWS by the http client library, excluding any retry.
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.
HttpRequestTime
          Number of milliseconds taken for a request/response round trip to AWS.
RedirectLocation
           
RequestCount
          Number of requests to AWS.
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.
RetryCount
          Number of retries of AWS SDK sending a request to AWS.
RetryPauseTime
           
ServiceEndpoint
           
ServiceName
           
StatusCode
           
 
Method Summary
static AWSRequestMetrics.Field valueOf(java.lang.String name)
          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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.amazonaws.metrics.MetricType
name
 

Enum Constant Detail

AWSErrorCode

public static final AWSRequestMetrics.Field AWSErrorCode

AWSRequestID

public static final AWSRequestMetrics.Field AWSRequestID

BytesProcessed

public static final AWSRequestMetrics.Field BytesProcessed

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.


CredentialsRequestTime

public static final AWSRequestMetrics.Field CredentialsRequestTime

Exception

public static final AWSRequestMetrics.Field Exception

HttpRequestTime

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


RedirectLocation

public static final AWSRequestMetrics.Field RedirectLocation

RequestMarshallTime

public static final AWSRequestMetrics.Field RequestMarshallTime

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.


RequestCount

public static final AWSRequestMetrics.Field RequestCount
Number of requests to AWS.


RetryCount

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


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.


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


RetryPauseTime

public static final AWSRequestMetrics.Field RetryPauseTime

ServiceEndpoint

public static final AWSRequestMetrics.Field ServiceEndpoint

ServiceName

public static final AWSRequestMetrics.Field ServiceName

StatusCode

public static final AWSRequestMetrics.Field StatusCode
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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.