public interface IRetryStrategy
Modifier and Type | Method and Description |
---|---|
IRetryInterceptor |
createRetryInterceptor(int maxRetries,
int maxRetryInterval,
Authenticator authenticator)
Return an implementation of the
IRetryInterceptor interface
that is capable of retrying failed requests. |
IRetryInterceptor createRetryInterceptor(int maxRetries, int maxRetryInterval, Authenticator authenticator)
IRetryInterceptor
interface
that is capable of retrying failed requests.maxRetries
- the maximum number of retries to be attempted by the retry interceptormaxRetryInterval
- the maximum interval (in seconds)authenticator
- the Authenticator instance to be used to authenticate retried requestsCopyright © 2022 IBM Cloud Developer Experience. All rights reserved.