public class ZooKeeperEphemeralNodeObject extends Object
Constructor and Description |
---|
ZooKeeperEphemeralNodeObject(String nodePath,
ZooKeeperConnectionPool pool) |
Modifier and Type | Method and Description |
---|---|
void |
createNode(byte[] nodeData)
Create the specified node.
|
void |
deleteNode()
Delete the node.
|
void |
setNodeData(byte[] nodeData)
Set the node's data.
|
public ZooKeeperEphemeralNodeObject(String nodePath, ZooKeeperConnectionPool pool)
public void createNode(byte[] nodeData) throws ManifoldCFException, InterruptedException
public void setNodeData(byte[] nodeData) throws ManifoldCFException, InterruptedException
public void deleteNode() throws ManifoldCFException, InterruptedException