Class CheckPointAlgorithm
- java.lang.Object
-
- com.ibm.fhir.jbatch.bulkdata.export.common.CheckPointAlgorithm
-
- All Implemented Interfaces:
javax.batch.api.chunk.CheckpointAlgorithm
@Dependent public class CheckPointAlgorithm extends Object implements javax.batch.api.chunk.CheckpointAlgorithm
Bulk export Chunk implementation - custom checkpoint algorithm.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) String
cosBucketFileMaxResources
(package private) String
cosBucketFileMaxSize
(package private) javax.batch.runtime.context.StepContext
stepCtx
-
Constructor Summary
Constructors Constructor Description CheckPointAlgorithm()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginCheckpoint()
int
checkpointTimeout()
void
endCheckpoint()
boolean
isReadyToCheckpoint()
-
-
-
Method Detail
-
checkpointTimeout
public int checkpointTimeout()
- Specified by:
checkpointTimeout
in interfacejavax.batch.api.chunk.CheckpointAlgorithm
-
endCheckpoint
public void endCheckpoint()
- Specified by:
endCheckpoint
in interfacejavax.batch.api.chunk.CheckpointAlgorithm
-
beginCheckpoint
public void beginCheckpoint()
- Specified by:
beginCheckpoint
in interfacejavax.batch.api.chunk.CheckpointAlgorithm
-
isReadyToCheckpoint
public boolean isReadyToCheckpoint()
- Specified by:
isReadyToCheckpoint
in interfacejavax.batch.api.chunk.CheckpointAlgorithm
-
-