Uses of Interface
dk.cloudcreate.essentials.components.foundation.transaction.UnitOfWork
Packages that use UnitOfWork
Package
Description
-
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.fencedlock
Classes in dk.cloudcreate.essentials.components.foundation.fencedlock with type parameters of type UnitOfWorkModifier and TypeClassDescriptionclassDBFencedLockManager<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 UnitOfWorkModifierConstructorDescriptionDBFencedLock(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 UnitOfWorkModifier and TypeClassDescriptionclassDefaultDurableQueueConsumer<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.)
Log levels of interest:Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue that return types with arguments of type UnitOfWorkModifier and TypeMethodDescriptionOptional<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 UnitOfWorkModifierConstructorDescriptionUnitOfWorkControllingCommandBusInterceptor(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 UnitOfWorkModifier and TypeInterfaceDescriptioninterfaceUnitOfWorkFactory<UOW extends UnitOfWork>This interface creates aUnitOfWorkMethods in dk.cloudcreate.essentials.components.foundation.transaction with parameters of type UnitOfWorkModifier and TypeMethodDescriptionvoidUnitOfWorkLifecycleCallback.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.jdbiModifier and TypeInterfaceDescriptioninterfaceVersion of UnitOfWork that's aware of theHandleassociated with the currentUnitOfWorkClasses in dk.cloudcreate.essentials.components.foundation.transaction.jdbi that implement UnitOfWorkModifier and TypeClassDescriptionstatic class -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.mongo
Subinterfaces of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.mongoModifier and TypeInterfaceDescriptioninterfaceVersion 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 UnitOfWorkModifier and TypeClassDescriptionclassSpringTransactionAwareUnitOfWork<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 UnitOfWorkModifier and TypeClassDescriptionstatic class -
Uses of UnitOfWork in dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo
Classes in dk.cloudcreate.essentials.components.foundation.transaction.spring.mongo that implement UnitOfWorkModifier and TypeClassDescriptionstatic class