org.apache.accumulo.fate.zookeeper
public interface IZooReaderWriter extends IZooReader
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String path,
int version) |
org.apache.zookeeper.ZooKeeper |
getZooKeeper() |
boolean |
isLockHeld(ZooUtil.LockID lockID) |
void |
mkdirs(String path) |
byte[] |
mutate(String zPath,
byte[] createValue,
List<org.apache.zookeeper.data.ACL> acl,
ZooReaderWriter.Mutator mutator) |
String |
putEphemeralData(String zPath,
byte[] data) |
String |
putEphemeralSequential(String zPath,
byte[] data) |
void |
putPersistentData(String zPath,
byte[] data,
int version,
ZooUtil.NodeExistsPolicy policy) |
boolean |
putPersistentData(String zPath,
byte[] data,
ZooUtil.NodeExistsPolicy policy)
Create a persistent node with the default ACL
|
String |
putPersistentSequential(String zPath,
byte[] data) |
boolean |
putPrivatePersistentData(String zPath,
byte[] data,
ZooUtil.NodeExistsPolicy policy) |
void |
recursiveCopyPersistent(String source,
String destination,
ZooUtil.NodeExistsPolicy policy) |
void |
recursiveDelete(String zPath,
int version,
ZooUtil.NodeMissingPolicy policy) |
void |
recursiveDelete(String zPath,
ZooUtil.NodeMissingPolicy policy) |
void |
sync(String path) |
exists, exists, getChildren, getChildren, getData, getStatus, getStatusorg.apache.zookeeper.ZooKeeper getZooKeeper()
void recursiveDelete(String zPath, ZooUtil.NodeMissingPolicy policy) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionvoid recursiveDelete(String zPath, int version, ZooUtil.NodeMissingPolicy policy) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionboolean putPersistentData(String zPath, byte[] data, ZooUtil.NodeExistsPolicy policy) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionboolean putPrivatePersistentData(String zPath, byte[] data, ZooUtil.NodeExistsPolicy policy) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionvoid putPersistentData(String zPath, byte[] data, int version, ZooUtil.NodeExistsPolicy policy) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionString putPersistentSequential(String zPath, byte[] data) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionString putEphemeralSequential(String zPath, byte[] data) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionString putEphemeralData(String zPath, byte[] data) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionvoid recursiveCopyPersistent(String source, String destination, ZooUtil.NodeExistsPolicy policy) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionvoid delete(String path, int version) throws InterruptedException, org.apache.zookeeper.KeeperException
InterruptedExceptionorg.apache.zookeeper.KeeperExceptionbyte[] mutate(String zPath, byte[] createValue, List<org.apache.zookeeper.data.ACL> acl, ZooReaderWriter.Mutator mutator) throws Exception
Exceptionboolean isLockHeld(ZooUtil.LockID lockID) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionvoid mkdirs(String path) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionvoid sync(String path) throws org.apache.zookeeper.KeeperException, InterruptedException
sync in interface IZooReaderorg.apache.zookeeper.KeeperExceptionInterruptedExceptionCopyright © 2014 Apache Accumulo Project. All Rights Reserved.