Uses of Package
dk.cloudcreate.essentials.components.foundation.fencedlock
-
Classes in dk.cloudcreate.essentials.components.foundation.fencedlock used by dk.cloudcreate.essentials.components.foundation.fencedlock Class Description DBFencedLock DBFencedLockManager FencedLock Represents a named fenced lock, where theFencedLock.getCurrentToken()can be passed on to down stream logic, which can keep track of the token value to identify if a timed out lock is being used to request logic.
The fence locking concept is described here https://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.htmlFencedLockEvents FencedLockManager This library provides a Distributed Locking Manager based of the Fenced Locking concept described here
TheFencedLockManageris responsible for obtaining and managing distributedFencedLock's, which are named exclusive locks.
Only oneFencedLockManagerinstance can acquire aFencedLockat a time.
The implementation has been on supporting intra-service (i.e.FencedLockStorage LockCallback LockCallbackBuilder LockName Contains the name of aFencedLock -
Classes in dk.cloudcreate.essentials.components.foundation.fencedlock used by dk.cloudcreate.essentials.components.foundation.messaging.eip.store_and_forward Class Description FencedLockManager This library provides a Distributed Locking Manager based of the Fenced Locking concept described here
TheFencedLockManageris responsible for obtaining and managing distributedFencedLock's, which are named exclusive locks.
Only oneFencedLockManagerinstance can acquire aFencedLockat a time.
The implementation has been on supporting intra-service (i.e.LockName Contains the name of aFencedLock