Package software.amazon.awssdk.crt.s3
Class S3RequestMetrics
java.lang.Object
software.amazon.awssdk.crt.s3.S3RequestMetrics
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 -
Method Summary
Modifier and TypeMethodDescriptionlonglongintintlonglonglonglongboolean
-
Constructor Details
-
S3RequestMetrics
public S3RequestMetrics()
-
-
Method Details
-
getApiCallDurationNs
- Throws:
CrtRuntimeException
-
isApiCallSuccessful
public boolean isApiCallSuccessful() -
getOperationName
-
getRetryCount
public int getRetryCount() -
getServiceId
-
getServiceEndpoint
-
getAwsExtendedRequestId
- Throws:
CrtRuntimeException
-
getAwsRequestId
- Throws:
CrtRuntimeException
-
getBackoffDelayDurationNs
- Throws:
CrtRuntimeException
-
getServiceCallDurationNs
- Throws:
CrtRuntimeException
-
getSigningDurationNs
- Throws:
CrtRuntimeException
-
getTimeToFirstByte
- Throws:
CrtRuntimeException
-
getTimeToLastByte
- Throws:
CrtRuntimeException
-
getErrorCode
public int getErrorCode() -
getIpAddress
-