Class ResourceExportCheckpointAlgorithm

  • All Implemented Interfaces:
    javax.batch.api.chunk.CheckpointAlgorithm

    @Dependent
    public class ResourceExportCheckpointAlgorithm
    extends java.lang.Object
    implements javax.batch.api.chunk.CheckpointAlgorithm
    Bulk export fast implementation - custom checkpoint algorithm. See class comment for ResourcePayloadReader for a description of why we checkpoint after every readItem call
    • Constructor Detail

      • ResourceExportCheckpointAlgorithm

        public ResourceExportCheckpointAlgorithm()
        Default constructor.
    • Method Detail

      • checkpointTimeout

        public int checkpointTimeout()
        Specified by:
        checkpointTimeout in interface javax.batch.api.chunk.CheckpointAlgorithm
      • beginCheckpoint

        public void beginCheckpoint()
        Specified by:
        beginCheckpoint in interface javax.batch.api.chunk.CheckpointAlgorithm
      • endCheckpoint

        public void endCheckpoint()
        Specified by:
        endCheckpoint in interface javax.batch.api.chunk.CheckpointAlgorithm
      • isReadyToCheckpoint

        public boolean isReadyToCheckpoint()
        Specified by:
        isReadyToCheckpoint in interface javax.batch.api.chunk.CheckpointAlgorithm