public static class TitusAgentLauncherImpl.TitusAPIRetryPolicy
extends org.springframework.retry.policy.ExceptionClassifierRetryPolicy
| Constructor and Description |
|---|
TitusAPIRetryPolicy(java.util.Set<org.springframework.http.HttpStatus> retryCodes,
int maxAttempts)
Constructor.
|
public TitusAPIRetryPolicy(java.util.Set<org.springframework.http.HttpStatus> retryCodes,
int maxAttempts)
retryCodes - The HttpStatus codes which should be retried if an API call to Titus failsmaxAttempts - The maximum number of retry attempts that should be made upon call failure