@ThreadSafe class ShouldDoAsyncSessionRefresh extends SdkPredicate<SessionCredentialsHolder>
Modifier and Type | Field and Description |
---|---|
private static long |
ASYNC_REFRESH_EXPIRATION_IN_MILLIS
Time before expiry within which session credentials will be asynchronously refreshed.
|
Constructor and Description |
---|
ShouldDoAsyncSessionRefresh() |
Modifier and Type | Method and Description |
---|---|
boolean |
test(SessionCredentialsHolder sessionCredentialsHolder)
Evaluates this predicate on the given argument
|
private static final long ASYNC_REFRESH_EXPIRATION_IN_MILLIS
public boolean test(SessionCredentialsHolder sessionCredentialsHolder)
SdkPredicate
test
in class SdkPredicate<SessionCredentialsHolder>
sessionCredentialsHolder
- The input argument