Class ExportCheckpointAlgorithm

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

    @Dependent
    public class ExportCheckpointAlgorithm
    extends Object
    implements javax.batch.api.chunk.CheckpointAlgorithm
    BulkData Export Custom CheckpointAlgorithm which considers COS size requirements while checkpointing.
    • Field Detail

      • jobCtx

        @Inject
        javax.batch.runtime.context.JobContext jobCtx
      • stepCtx

        @Inject
        javax.batch.runtime.context.StepContext stepCtx
      • isFileExport

        Boolean isFileExport
      • isAzureExport

        Boolean isAzureExport
    • Constructor Detail

      • ExportCheckpointAlgorithm

        public ExportCheckpointAlgorithm()
    • 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