|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.saga.annotation.RetryingErrorHandler.TimeoutConfiguration
public static class RetryingErrorHandler.TimeoutConfiguration
Definition of a timeout to use for a specific range of retries
| Constructor Summary | |
|---|---|
RetryingErrorHandler.TimeoutConfiguration(int count,
long timeout,
TimeUnit timeUnit)
Initialize a configuration to apply the given timeout between retries for the given
count number of retries. |
|
RetryingErrorHandler.TimeoutConfiguration(long timeout,
TimeUnit timeUnit)
Initialize a configuration to indefinitely retry, applying the given timeout between retries. |
|
| Method Summary | |
|---|---|
int |
count()
The number of times to apply the retryPolicy. |
RetryPolicy |
retryPolicy()
The retry policy to use between retries |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RetryingErrorHandler.TimeoutConfiguration(long timeout,
TimeUnit timeUnit)
timeout between retries.
timeout - The amount of time to wait before the next retrytimeUnit - The unit of the timeout
public RetryingErrorHandler.TimeoutConfiguration(int count,
long timeout,
TimeUnit timeUnit)
timeout between retries for the given
count number of retries.
count - The number of retries to apply the given timeout fortimeout - The amount of time to wait before the next retrytimeUnit - The unit of the timeout| Method Detail |
|---|
public int count()
retryPolicy.
retryPolicypublic RetryPolicy retryPolicy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||