Class ResourceExportCheckpointAlgorithm
- java.lang.Object
-
- com.ibm.fhir.jbatch.bulkdata.export.fast.ResourceExportCheckpointAlgorithm
-
- All Implemented Interfaces:
javax.batch.api.chunk.CheckpointAlgorithm
@Dependent public class ResourceExportCheckpointAlgorithm extends Object implements javax.batch.api.chunk.CheckpointAlgorithm
Bulk export fast implementation - custom checkpoint algorithm. See class comment forResourcePayloadReader
for a description of why we checkpoint after every readItem call
-
-
Constructor Summary
Constructors Constructor Description ResourceExportCheckpointAlgorithm()
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
-
beginCheckpoint
public void beginCheckpoint()
- Specified by:
beginCheckpoint
in interfacejavax.batch.api.chunk.CheckpointAlgorithm
-
endCheckpoint
public void endCheckpoint()
- Specified by:
endCheckpoint
in interfacejavax.batch.api.chunk.CheckpointAlgorithm
-
isReadyToCheckpoint
public boolean isReadyToCheckpoint()
- Specified by:
isReadyToCheckpoint
in interfacejavax.batch.api.chunk.CheckpointAlgorithm
-
-