|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.concurrent.locks.ReentrantLock
org.I0Itec.zkclient.ZkLock
public class ZkLock
Constructor Summary | |
---|---|
ZkLock()
|
Method Summary | |
---|---|
java.util.concurrent.locks.Condition |
getDataChangedCondition()
This condition will be signaled if a zookeeper event was processed and the event contains a data/child change. |
java.util.concurrent.locks.Condition |
getStateChangedCondition()
This condition will be signaled if a zookeeper event was processed and the event contains a state change (connected, disconnected, session expired, etc ...). |
java.util.concurrent.locks.Condition |
getZNodeEventCondition()
This condition will be signaled if any znode related zookeeper event was received. |
Methods inherited from class java.util.concurrent.locks.ReentrantLock |
---|
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ZkLock()
Method Detail |
---|
public java.util.concurrent.locks.Condition getDataChangedCondition()
public java.util.concurrent.locks.Condition getStateChangedCondition()
public java.util.concurrent.locks.Condition getZNodeEventCondition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |