Package software.amazon.awssdk.crt.s3
Class S3RequestMetrics
- java.lang.Object
-
- software.amazon.awssdk.crt.s3.S3RequestMetrics
-
public class S3RequestMetrics extends Object
An Request is any HTTP request made to the S3 Server. Within CRT, a large enough request (S3MetaRequest) from the customer might be divided into smaller, parallelised Requests for better performance. These are considered independent requests to S3 but CRT abstracts away the implementation details. S3RequestMetrics are asynchronously collected upon completion of a Request. This however, is independent from the success or even completion of the corresponding S3MetaRequest. When a particular request from customer (a Meta Request) is divided into n-requests on the CRT end, customer receives at minimum n-S3RequestMetrics objects (assuming all requests succeed in the first attempt, more if some fail).
-
-
Constructor Summary
Constructors Constructor Description S3RequestMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetApiCallDurationNs()StringgetAwsExtendedRequestId()StringgetAwsRequestId()longgetBackoffDelayDurationNs()intgetErrorCode()StringgetIpAddress()StringgetOperationName()intgetRetryCount()longgetServiceCallDurationNs()StringgetServiceEndpoint()StringgetServiceId()longgetSigningDurationNs()longgetTimeToFirstByte()longgetTimeToLastByte()booleanisApiCallSuccessful()
-
-
-
Method Detail
-
getApiCallDurationNs
public long getApiCallDurationNs()
-
isApiCallSuccessful
public boolean isApiCallSuccessful()
-
getOperationName
public String getOperationName()
-
getRetryCount
public int getRetryCount()
-
getServiceId
public String getServiceId()
-
getServiceEndpoint
public String getServiceEndpoint()
-
getAwsExtendedRequestId
public String getAwsExtendedRequestId()
-
getAwsRequestId
public String getAwsRequestId()
-
getBackoffDelayDurationNs
public long getBackoffDelayDurationNs()
-
getServiceCallDurationNs
public long getServiceCallDurationNs()
-
getSigningDurationNs
public long getSigningDurationNs()
-
getTimeToFirstByte
public long getTimeToFirstByte()
-
getTimeToLastByte
public long getTimeToLastByte()
-
getErrorCode
public int getErrorCode()
-
getIpAddress
public String getIpAddress()
-
-