public interface IGroupAction
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createAllNeedPath(String key,
String value,
org.apache.zookeeper.CreateMode createMode)
Create target node and all need created.
|
void |
deleteAllChildren(String key)
Delete target node and children nodes.
|
void |
deleteCurrentBranch(String key)
Delete the current node with force and delete the super node whose only child node is current node recursively.
|
void createAllNeedPath(String key, String value, org.apache.zookeeper.CreateMode createMode) throws org.apache.zookeeper.KeeperException, InterruptedException
key - keyvalue - valuecreateMode - create modeorg.apache.zookeeper.KeeperException - zookeeper exceptionInterruptedException - interrupted exceptionvoid deleteAllChildren(String key) throws org.apache.zookeeper.KeeperException, InterruptedException
key - keyorg.apache.zookeeper.KeeperException - zookeeper exceptionInterruptedException - interrupted exceptionvoid deleteCurrentBranch(String key) throws org.apache.zookeeper.KeeperException, InterruptedException
key - keyorg.apache.zookeeper.KeeperException - zookeeper exceptionInterruptedException - interrupted exceptionCopyright © 2018. All rights reserved.