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 boolean
exists(String zPath)
boolean
exists(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.Stat
getStatus(String zPath)
org.apache.zookeeper.data.Stat
getStatus(String zPath, org.apache.zookeeper.Watcher watcher)
void
sync(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.KeeperException
InterruptedException
-
getData
byte[] getData(String zPath, boolean watch, org.apache.zookeeper.data.Stat stat) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
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.KeeperException
InterruptedException
-
getStatus
org.apache.zookeeper.data.Stat getStatus(String zPath) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
getStatus
org.apache.zookeeper.data.Stat getStatus(String zPath, org.apache.zookeeper.Watcher watcher) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
getChildren
List<String> getChildren(String zPath) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
getChildren
List<String> getChildren(String zPath, org.apache.zookeeper.Watcher watcher) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
exists
boolean exists(String zPath) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
exists
boolean exists(String zPath, org.apache.zookeeper.Watcher watcher) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
sync
void sync(String path) throws org.apache.zookeeper.KeeperException, InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
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.KeeperException
InterruptedException
-
-