Package com.oracle.bmc.retrier
Class TokenRefreshRetrier
- java.lang.Object
- 
- com.oracle.bmc.retrier.BmcGenericRetrier
- 
- com.oracle.bmc.retrier.TokenRefreshRetrier
 
 
- 
 public class TokenRefreshRetrier extends BmcGenericRetrier A custom retrier that refreshes tokens and retries the operation in case of authentication failures.This retrier will make at max 2 attempts with no delay between the retried requests. 
- 
- 
Constructor SummaryConstructors Constructor Description TokenRefreshRetrier(AbstractAuthenticationDetailsProvider authenticationDetailsProvider)Create a new instance.
 - 
Method Summary- 
Methods inherited from class com.oracle.bmc.retrier.BmcGenericRetrierdoFunctionCall, doFunctionCallAsync, execute, executeAsync, getRetryCondition, getWaiter
 
- 
 
- 
- 
- 
Constructor Detail- 
TokenRefreshRetrierpublic TokenRefreshRetrier(@Nonnull AbstractAuthenticationDetailsProvider authenticationDetailsProvider)Create a new instance.- Parameters:
- authenticationDetailsProvider- The authentication provider used by the client.
 
 
- 
 
-