Package ca.uhn.fhir.batch2.maintenance
Class JobChunkProgressAccumulator
java.lang.Object
ca.uhn.fhir.batch2.maintenance.JobChunkProgressAccumulator
While performing cleanup, the cleanup job loads all work chunks
to examine their status. This bean collects the counts that
are found, so that they can be reused for maintenance jobs without
needing to hit the database a second time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetChunkIdsWithStatus(String theInstanceId, String theStepId, WorkChunkStatusEnum... theStatuses)
-
Constructor Details
-
JobChunkProgressAccumulator
public JobChunkProgressAccumulator()
-
-
Method Details
-
getChunkIdsWithStatus
public List<String> getChunkIdsWithStatus(String theInstanceId, String theStepId, WorkChunkStatusEnum... theStatuses) -
addChunk
-