Package ca.uhn.fhir.jpa.dao.expunge
Class PartitionRunner
java.lang.Object
ca.uhn.fhir.jpa.dao.expunge.PartitionRunner
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionRunner
(String theProcessName, String theThreadPrefix, int theBatchSize, int theThreadCount) -
Method Summary
Modifier and TypeMethodDescriptionvoid
runInPartitionedThreads
(org.springframework.data.domain.Slice<Long> theResourceIds, Consumer<List<Long>> partitionConsumer)
-
Constructor Details
-
PartitionRunner
public PartitionRunner(String theProcessName, String theThreadPrefix, int theBatchSize, int theThreadCount)
-
-
Method Details
-
runInPartitionedThreads
public void runInPartitionedThreads(org.springframework.data.domain.Slice<Long> theResourceIds, Consumer<List<Long>> partitionConsumer)
-