类 ChunkContext

  • 所有已实现的接口:
    java.io.Serializable, org.springframework.core.AttributeAccessor

    public class ChunkContext
    extends org.springframework.core.AttributeAccessorSupport
    Context object for weakly typed data stored for the duration of a chunk (usually a group of items processed together in a transaction). If there is a rollback and the chunk is retried the same context will be associated with it.
    作者:
    Dave Syer
    另请参阅:
    序列化表格
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      StepContextgetStepContext() 
      booleanisComplete() 
      voidsetComplete()
      Setter for the flag to signal complete processing of a chunk.
      java.lang.StringtoString() 
      • 从类继承的方法 org.springframework.core.AttributeAccessorSupport

        attributeNames, copyAttributesFrom, equals, getAttribute, hasAttribute, hashCode, removeAttribute, setAttribute
      • 从类继承的方法 java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

    • 方法详细资料

      • isComplete

        public boolean isComplete()
        返回:
        true if there is no more processing to be done on this chunk
      • setComplete

        public void setComplete()
        Setter for the flag to signal complete processing of a chunk.
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object