public final class AsyncRetryImpl.ContextImpl extends java.lang.Object implements AsyncRetry.Context
| Constructor and Description |
|---|
ContextImpl() |
| Modifier and Type | Method and Description |
|---|---|
long |
onError(java.lang.Throwable throwable)
Records an failed call.
|
void |
onSuccess()
Records a successful call.
|
public void onSuccess()
AsyncRetry.ContextonSuccess in interface AsyncRetry.Contextpublic long onError(java.lang.Throwable throwable)
AsyncRetry.ContextonError in interface AsyncRetry.Contextthrowable - the exception to handle