Package org.apache.curator.framework.recipes.locks
package org.apache.curator.framework.recipes.locks
-
ClassDescriptionNOTE: depending on its implementation,
InterProcessLock.release()
may throw an exception if the current thread does not own the lockA container that manages multiple locks as a single entity.A re-entrant mutex that works across JVMs.A re-entrant read/write mutex that works across JVMs.Deprecated.A NON re-entrant mutex that works across JVMs.A counting semaphore that works across JVMs.Represents an acquired lease from anInterProcessSemaphore
.Utility for safely acquiring a lock and releasing it using Java 7's try-with-resource feature.Revocable<T>Specifies locks that can be revoked
InterProcessSemaphoreV2
instead of this class.