クラス DefaultRetryStatistics
java.lang.ObjectSE
org.springframework.core.AttributeAccessorSupport
org.springframework.retry.stats.DefaultRetryStatistics
- 実装済みのインターフェース一覧:
SerializableSE、org.springframework.core.AttributeAccessor、RetryStatistics、MutableRetryStatistics
- 既知の直属サブクラス
ExponentialAverageRetryStatistics
public class DefaultRetryStatistics
extends org.springframework.core.AttributeAccessorSupport
implements RetryStatistics, MutableRetryStatistics
- 作成者:
- Dave Syer
- 関連事項:
コンストラクター概要
コンストラクター方法の概要
クラス org.springframework.core.AttributeAccessorSupport から継承されたメソッド
attributeNames, computeAttribute, copyAttributesFrom, equals, getAttribute, hasAttribute, hashCode, removeAttribute, setAttributeクラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.core.AttributeAccessor から継承されたメソッド
attributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttribute
コンストラクターの詳細
DefaultRetryStatistics
方法の詳細
getCompleteCount
public int getCompleteCount()- 次で指定:
- インターフェース
RetryStatistics内のgetCompleteCount - 戻り値:
- 完了した成功した再試行の回数。
getStartedCount
public int getStartedCount()インターフェースからコピーされた説明:RetryStatistics操作が何回再試行されたかに関係なく、再試行ブロックに入った回数を取得します。- 次で指定:
- インターフェース
RetryStatistics内のgetStartedCount - 戻り値:
- 開始された再試行ブロックの数。
getErrorCount
public int getErrorCount()インターフェースからコピーされた説明:RetryStatistics再試行の結果に関係なく、検出されたエラーの数を取得します。- 次で指定:
- インターフェース
RetryStatistics内のgetErrorCount - 戻り値:
- 検出されたエラーの数。
getAbortCount
public int getAbortCount()インターフェースからコピーされた説明:RetryStatistics再試行後もブロックが正常に完了しなかった回数を取得します。- 次で指定:
- インターフェース
RetryStatistics内のgetAbortCount - 戻り値:
- 全体的に失敗した再試行回数。
getName
インターフェースからコピーされた説明:RetryStatisticsレポート目的で再試行ブロックの識別子を取得します。- 次で指定:
- インターフェース
RetryStatistics内のgetName - 戻り値:
- ブロックの識別子。
getRecoveryCount
public int getRecoveryCount()インターフェースからコピーされた説明:RetryStatisticsリカバリコールバックが適用された回数を取得します。- 次で指定:
- インターフェース
RetryStatistics内のgetRecoveryCount - 戻り値:
- 回復された試行回数。
setName
incrementStartedCount
public void incrementStartedCount()- 次で指定:
- インターフェース
MutableRetryStatistics内のincrementStartedCount
incrementCompleteCount
public void incrementCompleteCount()- 次で指定:
- インターフェース
MutableRetryStatistics内のincrementCompleteCount
incrementRecoveryCount
public void incrementRecoveryCount()- 次で指定:
- インターフェース
MutableRetryStatistics内のincrementRecoveryCount
incrementErrorCount
public void incrementErrorCount()- 次で指定:
- インターフェース
MutableRetryStatistics内のincrementErrorCount
incrementAbortCount
public void incrementAbortCount()- 次で指定:
- インターフェース
MutableRetryStatistics内のincrementAbortCount
toString