Package nablarch.fw.handler.retry
Class CountingRetryContextFactory
java.lang.Object
nablarch.fw.handler.retry.RetryContextFactorySupport
nablarch.fw.handler.retry.CountingRetryContextFactory
- All Implemented Interfaces:
RetryHandler.RetryContextFactory
CountingRetryContextを生成するクラス。- Author:
- Kiyohito Itoh
-
Field Summary
Fields inherited from class nablarch.fw.handler.retry.RetryContextFactorySupport
maxRetryTime, retryIntervals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionリトライコンテキストを生成する。voidsetRetryCount(int retryCount) リトライ回数を設定する。Methods inherited from class nablarch.fw.handler.retry.RetryContextFactorySupport
setMaxRetryTime, setRetryIntervals
-
Constructor Details
-
CountingRetryContextFactory
public CountingRetryContextFactory()
-
-
Method Details
-
createRetryContext
リトライコンテキストを生成する。CountingRetryContextを生成する。- Returns:
- リトライコンテキスト
-
setRetryCount
public void setRetryCount(int retryCount) リトライ回数を設定する。- Parameters:
retryCount- リトライ回数
-