Package | Description |
---|---|
com.amazonaws.auth |
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.
|
RefreshableTask.Builder |
RefreshableTask.Builder.withRefreshCallable(java.util.concurrent.Callable<T> refreshCallable)
Set the callable that will provide the value when a refresh occurs.
|