org.apache.hadoop.hbase.zookeeper
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
public abstract static class ZKUtil.ZKUtilOp
- extends Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createAndFailSilent
public static ZKUtil.ZKUtilOp createAndFailSilent(String path,
byte[] data)
- Returns:
- a createAndFailSilent ZKUtilOp
deleteNodeFailSilent
public static ZKUtil.ZKUtilOp deleteNodeFailSilent(String path)
- Returns:
- a deleteNodeFailSilent ZKUtilOP
setData
public static ZKUtil.ZKUtilOp setData(String path,
byte[] data)
- Returns:
- a setData ZKUtilOp
getPath
public String getPath()
- Returns:
- path to znode where the ZKOp will occur
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.