public abstract static class ZKUtil.ZKUtilOp extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ZKUtil.ZKUtilOp.CreateAndFailSilent
ZKUtilOp representing createAndFailSilent in ZooKeeper (attempt to create node, ignore error
if already exists)
|
static class |
ZKUtil.ZKUtilOp.DeleteNodeFailSilent
ZKUtilOp representing deleteNodeFailSilent in ZooKeeper (attempt to delete node, ignore error
if node doesn't exist)
|
static class |
ZKUtil.ZKUtilOp.SetData
ZKUtilOp representing setData in ZooKeeper
|
Modifier and Type | Method and Description |
---|---|
static ZKUtil.ZKUtilOp |
createAndFailSilent(String path,
byte[] data)
Returns a createAndFailSilent ZKUtilOp
|
static ZKUtil.ZKUtilOp |
deleteNodeFailSilent(String path)
Returns a deleteNodeFailSilent ZKUtilOP
|
String |
getPath()
Returns path to znode where the ZKOp will occur
|
static ZKUtil.ZKUtilOp |
setData(String path,
byte[] data)
Returns a setData ZKUtilOp
|
static ZKUtil.ZKUtilOp |
setData(String path,
byte[] data,
int version)
Returns a setData ZKUtilOp
|
String |
toString() |
public static ZKUtil.ZKUtilOp createAndFailSilent(String path, byte[] data)
public static ZKUtil.ZKUtilOp deleteNodeFailSilent(String path)
public static ZKUtil.ZKUtilOp setData(String path, byte[] data)
public static ZKUtil.ZKUtilOp setData(String path, byte[] data, int version)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.