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
ConstructorDescriptionPartitionAwareSupplier
(HapiTransactionService theTxService, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails) -
Method Summary
Modifier and TypeMethodDescription<T> T
supplyInPartitionedContext
(Supplier<T> theResourcePersistentIdSupplier)
-
Constructor Details
-
PartitionAwareSupplier
@Nonnull public PartitionAwareSupplier(HapiTransactionService theTxService, ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails)
-
-
Method Details
-
supplyInPartitionedContext
-