public class AsyncRetryContext extends Object implements RetryContext
| Constructor and Description |
|---|
AsyncRetryContext(RetryPolicy retryPolicy) |
AsyncRetryContext(RetryPolicy retryPolicy,
int retry,
Throwable lastThrowable) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getLastThrowable() |
int |
getRetryCount() |
AsyncRetryContext |
nextRetry(Throwable cause) |
boolean |
willRetry() |
public AsyncRetryContext(RetryPolicy retryPolicy)
public AsyncRetryContext(RetryPolicy retryPolicy, int retry, Throwable lastThrowable)
public boolean willRetry()
willRetry in interface RetryContextpublic int getRetryCount()
getRetryCount in interface RetryContextpublic Throwable getLastThrowable()
getLastThrowable in interface RetryContextpublic AsyncRetryContext nextRetry(Throwable cause)
Copyright © 2014. All rights reserved.