Uses of Class
org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp
-
Uses of ZKUtil.ZKUtilOp in org.apache.hadoop.hbase.zookeeper
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 ZooKeeperModifier and TypeMethodDescriptionstatic ZKUtil.ZKUtilOp
ZKUtil.ZKUtilOp.createAndFailSilent
(String path, byte[] data) Returns a createAndFailSilent ZKUtilOpstatic ZKUtil.ZKUtilOp
ZKUtil.ZKUtilOp.deleteNodeFailSilent
(String path) Returns a deleteNodeFailSilent ZKUtilOPstatic ZKUtil.ZKUtilOp
Returns a setData ZKUtilOpstatic ZKUtil.ZKUtilOp
Returns a setData ZKUtilOpModifier and TypeMethodDescription(package private) static List<List<ZKUtil.ZKUtilOp>>
ZKUtil.partitionOps
(List<ZKUtil.ZKUtilOp> ops, int maxPartitionSize) Partition the list ofops
by size (usingZKUtil.estimateSize(ZKUtilOp)
).Modifier and TypeMethodDescription(package private) static int
ZKUtil.estimateSize
(ZKUtil.ZKUtilOp op) private static org.apache.zookeeper.Op
ZKUtil.toZooKeeperOp
(ZKWatcher zkw, ZKUtil.ZKUtilOp op) Convert from ZKUtilOp to ZKOpModifier and TypeMethodDescriptionstatic void
ZKUtil.multiOrSequential
(ZKWatcher zkw, List<ZKUtil.ZKUtilOp> ops, boolean runSequentialOnMultiFailure) Use ZooKeeper's multi-update functionality.(package private) static List<List<ZKUtil.ZKUtilOp>>
ZKUtil.partitionOps
(List<ZKUtil.ZKUtilOp> ops, int maxPartitionSize) Partition the list ofops
by size (usingZKUtil.estimateSize(ZKUtilOp)
).private static void
ZKUtil.processSequentially
(ZKWatcher zkw, List<ZKUtil.ZKUtilOp> ops) private static void
ZKUtil.submitBatchedMultiOrSequential
(ZKWatcher zkw, boolean runSequentialOnMultiFailure, List<ZKUtil.ZKUtilOp> ops) Chunks the providedops
when their approximate size exceeds the the configured limit.