Package org.infinispan.util.concurrent.locks
Lock and synchronization related classes, tools and utilities.
-
Interface Summary Interface Description DeadlockChecker An interface to implement the deadlock algorithm.ExtendedLockPromise An extendedLockPromise
interface that allows a better control over it.KeyAwareLockListener A listener forKeyAwareLockPromise
.KeyAwareLockPromise An extension ofLockPromise
that contains a key associated to the lock.LockListener The listener forLockPromise
.LockManager An interface to deal with all aspects of acquiring and releasing locks for cache entries.LockPromise A promise returned byInfinispanLock
.PendingLockListener A listener that is invoked whenPendingLockPromise
is ready.PendingLockManager A manager that checks and waits for older topology transaction with conflicting keys.PendingLockPromise A promise returned byPendingLockManager
.RemoteLockCommand Simple interface to extract all the keys that may need to be locked.TransactionalRemoteLockCommand Simple interface to extract all the keys that may need to be locked for transactional commands. -
Class Summary Class Description StripedLock A simple implementation of lock striping, using cache entry keys to lock on, primarily used to help makeCacheLoader
implemtations thread safe. -
Enum Summary Enum Description LockState TheInfinispanLock
possible states. -
Exception Summary Exception Description DeadlockDetectedException Exception signaling detected deadlocks.