@Immutable public class RetryPolicyContext extends Object
RetryPolicy
.Modifier and Type | Class and Description |
---|---|
static class |
RetryPolicyContext.Builder |
Modifier and Type | Method and Description |
---|---|
static RetryPolicyContext.Builder |
builder() |
SdkBaseException |
exception() |
Integer |
httpStatusCode() |
Object |
originalRequest() |
Request<?> |
request() |
int |
retriesAttempted() |
int |
totalRequests() |
public Object originalRequest()
public Request<?> request()
HandlerContextAware.addHandlerContext(HandlerContextKey, Object)
for a mechanism to store
request level state across invocations of the retry policy.public SdkBaseException exception()
public int retriesAttempted()
public int totalRequests()
public Integer httpStatusCode()
public static RetryPolicyContext.Builder builder()
Copyright © 2023. All rights reserved.