Uses of Interface
dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
-
-
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.fencedlock
Classes in dk.cloudcreate.essentials.components.foundation.fencedlock with type parameters of type UnitOfWork Modifier and Type Class Description classDBFencedLockManager<UOW extends UnitOfWork,LOCK extends DBFencedLock>interfaceFencedLockStorage<UOW extends UnitOfWork,LOCK extends DBFencedLock>Constructor parameters in dk.cloudcreate.essentials.components.foundation.fencedlock with type arguments of type UnitOfWork Constructor Description DBFencedLock(DBFencedLockManager<? extends UnitOfWork,DBFencedLock> fencedLockManager, LockName lockName, Long currentToken, String lockedByBusInstanceId, OffsetDateTime lockAcquiredTimestamp, OffsetDateTime lockLastConfirmedTimestamp) -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.messaging.queue
Classes in dk.cloudcreate.essentials.components.foundation.messaging.queue with type parameters of type UnitOfWork Modifier and Type Class Description classDefaultDurableQueueConsumer<DURABLE_QUEUES extends DurableQueues,UOW extends UnitOfWork,UOW_FACTORY extends UnitOfWorkFactory<UOW>>The defaultDurableQueueConsumerwhich provides basic implementation (including retrying messages in case of failure, polling interval optimization, etc.)Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue that return types with arguments of type UnitOfWork Modifier and Type Method Description Optional<UnitOfWorkFactory<? extends UnitOfWork>>DurableQueues. getUnitOfWorkFactory() -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.reactive.command
Constructor parameters in dk.cloudcreate.essentials.components.foundation.reactive.command with type arguments of type UnitOfWork Constructor Description UnitOfWorkControllingCommandBusInterceptor(UnitOfWorkFactory<? extends UnitOfWork> unitOfWorkFactory) -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction
Classes in dk.cloudcreate.essentials.components.foundation.transaction with type parameters of type UnitOfWork Modifier and Type Interface Description interfaceUnitOfWorkFactory<UOW extends UnitOfWork>This interface creates aUnitOfWorkMethods in dk.cloudcreate.essentials.components.foundation.transaction with parameters of type UnitOfWork Modifier and Type Method Description voidUnitOfWorkLifecycleCallback. afterCommit(UnitOfWork unitOfWork, List<RESOURCE_TYPE> associatedResources)voidUnitOfWorkLifecycleCallback. afterRollback(UnitOfWork unitOfWork, List<RESOURCE_TYPE> associatedResources, Exception causeOfTheRollback)voidUnitOfWorkLifecycleCallback. beforeCommit(UnitOfWork unitOfWork, List<RESOURCE_TYPE> associatedResources)voidUnitOfWorkLifecycleCallback. beforeRollback(UnitOfWork unitOfWork, List<RESOURCE_TYPE> associatedResources, Exception causeOfTheRollback) -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.jdbi
Subinterfaces of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.jdbi Modifier and Type Interface Description interfaceHandleAwareUnitOfWorkVersion of UnitOfWork that's aware of theHandleassociated with the currentUnitOfWorkClasses in dk.cloudcreate.essentials.components.foundation.transaction.jdbi that implement UnitOfWork Modifier and Type Class Description static classGenericHandleAwareUnitOfWorkFactory.GenericHandleAwareUnitOfWork -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.mongo
Subinterfaces of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.mongo Modifier and Type Interface Description interfaceClientSessionAwareUnitOfWorkVersion of UnitOfWork that's aware of theClientSessionassociated with the currentUnitOfWork
Will likely be removed in the future as having access to the ClientSession doesn't seem to be needed -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.spring
Classes in dk.cloudcreate.essentials.components.foundation.transaction.spring that implement UnitOfWork Modifier and Type Class Description classSpringTransactionAwareUnitOfWork<TRX_MGR extends org.springframework.transaction.PlatformTransactionManager,UOW extends SpringTransactionAwareUnitOfWork<TRX_MGR,UOW>>Spring transaction-awareUnitOfWork
Specializations can choose to overrideSpringTransactionAwareUnitOfWork.onStart()to initialize any datastore specific resources (e.g. -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi
Classes in dk.cloudcreate.essentials.components.foundation.transaction.spring.jdbi that implement UnitOfWork Modifier and Type Class Description static classSpringTransactionAwareJdbiUnitOfWorkFactory.SpringTransactionAwareHandleAwareUnitOfWork -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo
Classes in dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo that implement UnitOfWork Modifier and Type Class Description static classSpringMongoTransactionAwareUnitOfWorkFactory.SpringMongoTransactionAwareUnitOfWork
-