Package org.apache.curator.framework.recipes.locks
-
Interface Summary Interface Description InterProcessLock NOTE: depending on its implementation,InterProcessLock.release()
may throw an exception if the current thread does not own the lockLease Represents an acquired lease from anInterProcessSemaphore
.LockInternalsDriver LockInternalsSorter Revocable<T> Specifies locks that can be revokedRevocationListener<T> -
Class Summary Class Description InterProcessMultiLock A container that manages multiple locks as a single entity.InterProcessMutex A re-entrant mutex that works across JVMs.InterProcessReadWriteLock A re-entrant read/write mutex that works across JVMs.InterProcessReadWriteLock.ReadLock InterProcessReadWriteLock.WriteLock InterProcessSemaphore Deprecated. UseInterProcessSemaphoreV2
instead of this class.InterProcessSemaphoreMutex A NON re-entrant mutex that works across JVMs.InterProcessSemaphoreV2 A counting semaphore that works across JVMs.Locker Utility for safely acquiring a lock and releasing it using Java 7's try-with-resource feature.LockInternals PredicateResults Revoker StandardLockInternalsDriver