Class ZKUtil.ZKUtilOp
java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp
- Direct Known Subclasses:
ZKUtil.ZKUtilOp.CreateAndFailSilent
,ZKUtil.ZKUtilOp.DeleteNodeFailSilent
,ZKUtil.ZKUtilOp.SetData
- Enclosing class:
- ZKUtil
Represents an action taken by ZKUtil, e.g. createAndFailSilent. These actions are higher-level
than ZKOp actions, which represent individual actions in the ZooKeeper API, like create.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
ZKUtilOp representing createAndFailSilent in ZooKeeper (attempt to create node, ignore error if already exists)static final class
ZKUtilOp representing deleteNodeFailSilent in ZooKeeper (attempt to delete node, ignore error if node doesn't exist)static final class
ZKUtilOp representing setData in ZooKeeper -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ZKUtil.ZKUtilOp
createAndFailSilent
(String path, byte[] data) Returns a createAndFailSilent ZKUtilOpstatic ZKUtil.ZKUtilOp
deleteNodeFailSilent
(String path) Returns a deleteNodeFailSilent ZKUtilOPgetPath()
Returns path to znode where the ZKOp will occurstatic ZKUtil.ZKUtilOp
Returns a setData ZKUtilOpstatic ZKUtil.ZKUtilOp
Returns a setData ZKUtilOptoString()
-
Field Details
-
path
-
-
Constructor Details
-
ZKUtilOp
-
-
Method Details