Interface IZooReader
-
- All Known Subinterfaces:
IZooReaderWriter
- All Known Implementing Classes:
ZooReader,ZooReaderWriter
public interface IZooReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexists(String zPath)booleanexists(String zPath, org.apache.zookeeper.Watcher watcher)List<org.apache.zookeeper.data.ACL>getACL(String zPath, org.apache.zookeeper.data.Stat stat)List<String>getChildren(String zPath)List<String>getChildren(String zPath, org.apache.zookeeper.Watcher watcher)byte[]getData(String zPath, boolean watch, org.apache.zookeeper.data.Stat stat)byte[]getData(String zPath, org.apache.zookeeper.data.Stat stat)byte[]getData(String zPath, org.apache.zookeeper.Watcher watcher, org.apache.zookeeper.data.Stat stat)org.apache.zookeeper.data.StatgetStatus(String zPath)org.apache.zookeeper.data.StatgetStatus(String zPath, org.apache.zookeeper.Watcher watcher)voidsync(String path)
-
-
-
Method Detail
-
getData
byte[] getData(String zPath, org.apache.zookeeper.data.Stat stat) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
getData
byte[] getData(String zPath, boolean watch, org.apache.zookeeper.data.Stat stat) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
getData
byte[] getData(String zPath, org.apache.zookeeper.Watcher watcher, org.apache.zookeeper.data.Stat stat) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
getStatus
org.apache.zookeeper.data.Stat getStatus(String zPath) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
getStatus
org.apache.zookeeper.data.Stat getStatus(String zPath, org.apache.zookeeper.Watcher watcher) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
getChildren
List<String> getChildren(String zPath) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
getChildren
List<String> getChildren(String zPath, org.apache.zookeeper.Watcher watcher) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
exists
boolean exists(String zPath) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
exists
boolean exists(String zPath, org.apache.zookeeper.Watcher watcher) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
sync
void sync(String path) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
getACL
List<org.apache.zookeeper.data.ACL> getACL(String zPath, org.apache.zookeeper.data.Stat stat) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperExceptionInterruptedException
-
-