
Package ca.uhn.fhir.jpa.dao.expunge
Class PartitionAwareSupplier
java.lang.Object
ca.uhn.fhir.jpa.dao.expunge.PartitionAwareSupplier
Utility class wrapping a supplier in a transaction with the purpose of performing the supply operation with a
partitioned aware context.
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionAwareSupplier
(HapiTransactionService theTxService, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
Method Summary
Modifier and TypeMethodDescription<T> T
supplyInPartitionedContext
(Supplier<T> theResourcePersistentIdSupplier)
-
Constructor Details
-
PartitionAwareSupplier
public PartitionAwareSupplier(HapiTransactionService theTxService, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-
-
Method Details
-
supplyInPartitionedContext
-