Package | Description |
---|---|
org.apache.hadoop.hbase.zookeeper |
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 |
ZKUtil.ZKUtilOp.createAndFailSilent(String path,
byte[] data) |
static ZKUtil.ZKUtilOp |
ZKUtil.ZKUtilOp.deleteNodeFailSilent(String path) |
static ZKUtil.ZKUtilOp |
ZKUtil.ZKUtilOp.setData(String path,
byte[] data) |
Modifier and Type | Method and Description |
---|---|
private static org.apache.zookeeper.Op |
ZKUtil.toZooKeeperOp(ZKWatcher zkw,
ZKUtil.ZKUtilOp op)
Convert from ZKUtilOp to ZKOp
|
Modifier and Type | Method and Description |
---|---|
static void |
ZKUtil.multiOrSequential(ZKWatcher zkw,
List<ZKUtil.ZKUtilOp> ops,
boolean runSequentialOnMultiFailure)
Use ZooKeeper's multi-update functionality.
|
private static void |
ZKUtil.processSequentially(ZKWatcher zkw,
List<ZKUtil.ZKUtilOp> ops) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.