public class CountingRetryContextFactory extends RetryContextFactorySupport
CountingRetryContextを生成するクラス。maxRetryTime, retryIntervals| Constructor and Description |
|---|
CountingRetryContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
RetryHandler.RetryContext |
createRetryContext()
リトライコンテキストを生成する。
|
void |
setRetryCount(int retryCount)
リトライ回数を設定する。
|
setMaxRetryTime, setRetryIntervalspublic RetryHandler.RetryContext createRetryContext()
CountingRetryContextを生成する。public void setRetryCount(int retryCount)
retryCount - リトライ回数