Class ExportCheckpointAlgorithm
- java.lang.Object
-
- com.ibm.fhir.bulkdata.jbatch.export.checkpoint.ExportCheckpointAlgorithm
-
- All Implemented Interfaces:
javax.batch.api.chunk.CheckpointAlgorithm
@Dependent public class ExportCheckpointAlgorithm extends java.lang.Object implements javax.batch.api.chunk.CheckpointAlgorithm
BulkData Export Custom CheckpointAlgorithm which considers COS size requirements while checkpointing.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ConfigurationAdapter
config
(package private) java.lang.Boolean
isAzureExport
(package private) java.lang.Boolean
isFileExport
(package private) javax.batch.runtime.context.JobContext
jobCtx
(package private) javax.batch.runtime.context.StepContext
stepCtx
-
Constructor Summary
Constructors Constructor Description ExportCheckpointAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginCheckpoint()
int
checkpointTimeout()
void
endCheckpoint()
boolean
isReadyToCheckpoint()
-
-
-
Field Detail
-
jobCtx
@Inject javax.batch.runtime.context.JobContext jobCtx
-
stepCtx
@Inject javax.batch.runtime.context.StepContext stepCtx
-
isFileExport
java.lang.Boolean isFileExport
-
isAzureExport
java.lang.Boolean isAzureExport
-
config
ConfigurationAdapter config
-
-
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
-
-