public abstract class RetryContextFactorySupport extends java.lang.Object implements RetryHandler.RetryContextFactory
RetryHandler.RetryContextFactoryの実装をサポートするクラス。| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected long |
maxRetryTime
最長リトライ時間(単位:msec)
|
protected long |
retryIntervals
リトライ間隔(単位:msec)
|
| コンストラクタと説明 |
|---|
RetryContextFactorySupport() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
setMaxRetryTime(long maxRetryTime)
最長リトライ時間(単位:msec)を設定する。
|
void |
setRetryIntervals(long retryIntervals)
リトライ間隔(単位:msec)を設定する。
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRetryContextprotected long maxRetryTime
protected long retryIntervals
public void setMaxRetryTime(long maxRetryTime)
RequestThreadLoopHandlerを使用する場合が該当する。
maxRetryTime - 最長リトライ時間(単位:msec)public void setRetryIntervals(long retryIntervals)
retryIntervals - リトライ間隔(単位:msec)