Package | Description |
---|---|
com.amazonaws.auth | |
com.amazonaws.http.conn.ssl | |
com.amazonaws.services.s3.internal |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ShouldDoAsyncSessionRefresh
Predicate to determine when it is sufficient to do an async refresh of session credentials and
return existing credentials to the caller.
|
(package private) class |
ShouldDoBlockingSessionRefresh
Predicate to determine when we do a blocking, synchronous refresh of session credentials in
STSSessionCredentialsProvider and STSAssumeRoleSessionCredentialsProvider.
|
Modifier and Type | Field and Description |
---|---|
private SdkPredicate<T> |
RefreshableTask.shouldDoAsyncRefresh
Predicate to determine whether a async refresh can be done rather than a blocking refresh.
|
private SdkPredicate<T> |
RefreshableTask.Builder.shouldDoAsyncRefresh |
private SdkPredicate<T> |
RefreshableTask.shouldDoBlockingRefresh
Predicate to determine whether a blocking refresh should be performed
|
private SdkPredicate<T> |
RefreshableTask.Builder.shouldDoBlockingRefresh |
Modifier and Type | Method and Description |
---|---|
RefreshableTask.Builder |
RefreshableTask.Builder.withAsyncRefreshPredicate(SdkPredicate<T> shouldDoAsyncRefresh)
Set the predicate that will determine when the task will queue a non-blocking, async
refresh.
|
RefreshableTask.Builder |
RefreshableTask.Builder.withBlockingRefreshPredicate(SdkPredicate<T> shouldDoBlockingRefresh)
Set the predicate that will determine when the task will do a blocking refresh.
|
Constructor and Description |
---|
RefreshableTask(java.util.concurrent.Callable<T> refreshCallable,
SdkPredicate<T> shouldDoBlockingRefresh,
SdkPredicate<T> shouldDoAsyncRefresh) |
RefreshableTask(java.util.concurrent.Callable<T> refreshCallable,
SdkPredicate<T> shouldDoBlockingRefresh,
SdkPredicate<T> shouldDoAsyncRefresh) |
Modifier and Type | Class and Description |
---|---|
class |
ShouldClearSslSessionPredicate
Determines whether we should apply the workaround to bug that causes the SSL session cache to be
stuck in a bad state for either 24 hours or the next JVM restart.
|
Modifier and Type | Class and Description |
---|---|
class |
CompleteMultipartUploadRetryablePredicate
Complete Multipart Upload API returns a 2xx
success response with an Error xml in the body.
|
class |
IsSigV4RetryablePredicate |
Modifier and Type | Field and Description |
---|---|
private SdkPredicate<AmazonS3Exception> |
CompleteMultipartUploadRetryCondition.completeMultipartRetryablePredicate |
private SdkPredicate<AmazonServiceException> |
S3V4AuthErrorRetryStrategy.sigV4RetryPredicate |
Constructor and Description |
---|
CompleteMultipartUploadRetryCondition(SdkPredicate<AmazonS3Exception> predicate,
int maxRetryAttempts)
For testing purposes.
|
S3V4AuthErrorRetryStrategy(S3RequestEndpointResolver endpointResolver,
SdkPredicate<AmazonServiceException> isSigV4Retryable)
Currently only used for testing
|