Class CheckpointManager


  • public class CheckpointManager
    extends Object
    • Constructor Detail

      • CheckpointManager

        public CheckpointManager​(javax.batch.api.chunk.ItemReader reader,
                                 javax.batch.api.chunk.ItemWriter writer,
                                 javax.batch.api.chunk.CheckpointAlgorithm chkptAlg,
                                 long jobInstanceID,
                                 String stepId,
                                 PersistenceManagerService persistenceManagerService,
                                 DataRepresentationService dataRepresentationService)
    • Method Detail

      • beginCheckpoint

        public void beginCheckpoint()
      • endCheckpoint

        public void endCheckpoint()
      • applyCheckPointPolicy

        public boolean applyCheckPointPolicy()
      • prepareCheckpoints

        public Map<CheckpointDataKey,​CheckpointData> prepareCheckpoints()
        Takes the current checkpoint data from the ItemReader and ItemWriter and store them in the database
      • checkpointTimeout

        public int checkpointTimeout()