Uses of Interface
dev.getelements.elements.dao.mongo.MongoConcurrentUtils.CriticalOperation
Packages that use MongoConcurrentUtils.CriticalOperation
-
Uses of MongoConcurrentUtils.CriticalOperation in dev.getelements.elements.dao.mongo
Methods in dev.getelements.elements.dao.mongo with parameters of type MongoConcurrentUtils.CriticalOperationModifier and TypeMethodDescription<ReturnT> ReturnT
MongoConcurrentUtils.performOptimistic
(MongoConcurrentUtils.CriticalOperation<ReturnT> criticalOperation) Attempts to complete the given criticalOperation and, in the event of a failure, attempts to retry the criticalOperation several times until giving up.<ReturnT,
ExceptionT extends Throwable>
ReturnTMongoConcurrentUtils.performOptimistic
(MongoConcurrentUtils.CriticalOperation<ReturnT> criticalOperation, Supplier<ExceptionT> exceptionTSupplier) Attempts to complete the given criticalOperation and, in the event of a failure, attempts to retry the criticalOperation several times until giving up.