クラス ChunkContext

java.lang.ObjectSE
org.springframework.core.AttributeAccessorSupport
org.springframework.batch.core.scope.context.ChunkContext
実装されたすべてのインターフェース:
SerializableSEorg.springframework.core.AttributeAccessor

public class ChunkContext extends org.springframework.core.AttributeAccessorSupport
チャンク(通常、トランザクションで一緒に処理されるアイテムのグループ)の期間中に格納された、弱く型付けされたデータのコンテキストオブジェクト。ロールバックがあり、チャンクが再試行される場合、同じコンテキストがそれに関連付けられます。
作成者:
Dave Syer, Mahmoud Ben Hassine
関連事項:
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    boolean
    void
    チャンクの完全な処理を通知するフラグの Setter。

    クラス org.springframework.core.AttributeAccessorSupport から継承されたメソッド

    attributeNames, computeAttribute, copyAttributesFrom, equals, getAttribute, hasAttribute, hashCode, removeAttribute, setAttribute

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, finalize, getClass, notify, notifyAll, wait, waitSE, waitSE
  • コンストラクターの詳細

    • ChunkContext

      public ChunkContext(StepContext stepContext)
      パラメーター:
      stepContext - 現在のステップのコンテキスト
  • メソッドの詳細

    • getStepContext

      public StepContext getStepContext()
      戻り値:
      現在のステップのコンテキスト
    • isComplete

      public boolean isComplete()
      戻り値:
      このチャンクで実行する処理がもうない場合は true
    • setComplete

      public void setComplete()
      チャンクの完全な処理を通知するフラグの Setter。
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString