public class ZookeeperLock extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ZookeeperLock.State
Internal state of this lock.
|
| Modifier and Type | Field and Description |
|---|---|
protected ZookeeperLock.State |
state |
protected ZookeeperLock.State state
public void lock()
throws IOException
IOExceptionpublic void unlock()
throws IOException
IOExceptionCopyright © 2015–2018 Lable. All rights reserved.