rubyu/zookeeper-client — comment on commit 079b56ad7f441c257757058c29e0e073d2eca832
File: src/main/scala/com/github/rubyu/zookeeper/example/lock/LockBase.scala line 11
By rubyu:

if entry checks all nodes every time,

protected def entry: Option[ZooKeeperNode] = //query for the node

protected def enter() {
if (entry.isEmpty)
create()
}