An asynchronous exclusive lock which can be obtained from any node in the cluster.
When the lock is obtained, no-one else in the cluster can obtain the lock with the same name until the lock is released.
Constructor and description |
---|
Lock
(java.lang.Object delegate) |
Type | Name and description |
---|---|
java.lang.Object |
getDelegate() |
void |
release() Release the lock. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |