blob: 90334b22560db4d50e8414bc668e5034c9b2dae4 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ZKUtil (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ZKUtil (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":41,"i33":41,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":41,"i72":9,"i73":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ZKUtil.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKSplitLog.html" title="class in org.apache.hadoop.hbase.zookeeper"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.JaasConfiguration.html" title="class in org.apache.hadoop.hbase.zookeeper"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/hbase/zookeeper/ZKUtil.html" target="_top">Frames</a></li>
<li><a href="ZKUtil.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.hadoop.hbase.zookeeper</div>
<h2 title="Class ZKUtil" class="title">Class ZKUtil</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.hbase.zookeeper.ZKUtil</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>@InterfaceAudience.Private
public final class <a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.93">ZKUtil</a>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Internal HBase utility class for ZooKeeper.
<p>Contains only static methods and constants.
<p>Methods all throw <code>KeeperException</code> if there is an unexpected
zookeeper exception, so callers of these methods must handle appropriately.
If ZK is required for the operation, the server will need to be aborted.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.JaasConfiguration.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.JaasConfiguration</a></span></code>
<div class="block">A JAAS configuration that defines the login modules that we want to use for login.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.NodeAndData.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.NodeAndData</a></span></code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Unused</span></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a></span></code>
<div class="block">Represents an action taken by ZKUtil, e.g.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static org.slf4j.Logger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#LOG">LOG</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#zkDumpConnectionTimeOut">zkDumpConnectionTimeOut</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#ZKUtil--">ZKUtil</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#appendHFileRefsZNodes-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">appendHFileRefsZNodes</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hFileRefsZNode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#appendPeerState-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">appendPeerState</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znodeToProcess,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#appendPeersZnodes-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">appendPeersZnodes</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;peersZnode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#appendRSZnodes-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">appendRSZnodes</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#asyncCreate-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-org.apache.zookeeper.AsyncCallback.StringCallback-java.lang.Object-">asyncCreate</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
org.apache.zookeeper.AsyncCallback.StringCallback&nbsp;cb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</code>
<div class="block">Async creates the specified node with the specified data.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#checkExists-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">checkExists</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Check if the specified node exists.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html" title="class in org.apache.hadoop.hbase.zookeeper">RecoverableZooKeeper</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#connect-org.apache.hadoop.conf.Configuration-java.lang.String-org.apache.zookeeper.Watcher-">connect</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ensemble,
org.apache.zookeeper.Watcher&nbsp;watcher)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html" title="class in org.apache.hadoop.hbase.zookeeper">RecoverableZooKeeper</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#connect-org.apache.hadoop.conf.Configuration-java.lang.String-org.apache.zookeeper.Watcher-java.lang.String-">connect</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ensemble,
org.apache.zookeeper.Watcher&nbsp;watcher,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;identifier)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html" title="class in org.apache.hadoop.hbase.zookeeper">RecoverableZooKeeper</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#connect-org.apache.hadoop.conf.Configuration-org.apache.zookeeper.Watcher-">connect</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.zookeeper.Watcher&nbsp;watcher)</code>
<div class="block">Creates a new connection to ZooKeeper, pulling settings and ensemble config
from the specified configuration object using methods from <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKConfig.html" title="class in org.apache.hadoop.hbase.zookeeper"><code>ZKConfig</code></a>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static org.apache.zookeeper.KeeperException</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#convert-org.apache.hadoop.hbase.exceptions.DeserializationException-">convert</a></span>(<a href="../../../../../org/apache/hadoop/hbase/exceptions/DeserializationException.html" title="class in org.apache.hadoop.hbase.exceptions">DeserializationException</a>&nbsp;e)</code>
<div class="block">Convert a <a href="../../../../../org/apache/hadoop/hbase/exceptions/DeserializationException.html" title="class in org.apache.hadoop.hbase.exceptions"><code>DeserializationException</code></a> to a more palatable <code>KeeperException</code>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.zookeeper.data.ACL&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createACL-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">createACL</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.zookeeper.data.ACL&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createACL-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-boolean-">createACL</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node,
boolean&nbsp;isSecureZooKeeper)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createAndFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">createAndFailSilent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Creates the specified node, iff the node does not exist.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createAndFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">createAndFailSilent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)</code>
<div class="block">Creates the specified node containing specified data, iff the node does not exist.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createAndFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.CreateAndFailSilent-">createAndFailSilent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.CreateAndFailSilent.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp.CreateAndFailSilent</a>&nbsp;cafs)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">createAndWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)</code>
<div class="block">Creates the specified node with the specified data and watches it.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createEphemeralNodeAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">createEphemeralNodeAndWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)</code>
<div class="block">Set the specified znode to be an ephemeral node carrying the specified
data.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createNodeIfNotExistsAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">createNodeIfNotExistsAndWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)</code>
<div class="block">Creates the specified znode to be a persistent node carrying the specified
data.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createNodeIfNotExistsNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-org.apache.zookeeper.CreateMode-">createNodeIfNotExistsNoWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
org.apache.zookeeper.CreateMode&nbsp;createMode)</code>
<div class="block">Creates the specified znode with the specified data but does not watch it.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createSetData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">createSetData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)</code>
<div class="block">Set data into node creating node if it doesn't yet exist.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createWithParents-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">createWithParents</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Creates the specified node and all parent nodes required for it to exist.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#createWithParents-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">createWithParents</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)</code>
<div class="block">Creates the specified node and all parent nodes required for it to exist.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteChildrenRecursively-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">deleteChildrenRecursively</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</code>
<div class="block">Delete all the children of the specified node but not the node itself.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteChildrenRecursivelyMultiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-boolean-java.lang.String...-">deleteChildrenRecursivelyMultiOrSequential</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
boolean&nbsp;runSequentialOnMultiFailure,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;pathRoots)</code>
<div class="block">Delete all the children of the specified node but not the node itself.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteNode-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">deleteNode</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</code>
<div class="block">Delete the specified node.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteNode-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-int-">deleteNode</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node,
int&nbsp;version)</code>
<div class="block">Delete the specified node with the specified version.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteNodeFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">deleteNodeFailSilent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</code>
<div class="block">Deletes the specified node.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteNodeFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.DeleteNodeFailSilent-">deleteNodeFailSilent</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.DeleteNodeFailSilent.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp.DeleteNodeFailSilent</a>&nbsp;dnfs)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteNodeRecursively-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">deleteNodeRecursively</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</code>
<div class="block">Delete the specified node and all of it's children.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#deleteNodeRecursivelyMultiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-boolean-java.lang.String...-">deleteNodeRecursivelyMultiOrSequential</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
boolean&nbsp;runSequentialOnMultiFailure,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;pathRoots)</code>
<div class="block">Delete the specified node and its children.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#dump-org.apache.hadoop.hbase.zookeeper.ZKWatcher-">dump</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw)</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#estimateSize-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp-">estimateSize</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&nbsp;op)</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.NodeAndData.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.NodeAndData</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getChildDataAndWatchForNewChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">getChildDataAndWatchForNewChildren</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;baseNode)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Unused</span></div>
</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.NodeAndData.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.NodeAndData</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getChildDataAndWatchForNewChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-boolean-">getChildDataAndWatchForNewChildren</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;baseNode,
boolean&nbsp;throwOnInterrupt)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Unused</span></div>
</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">getData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Get znode data.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getDataAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">getDataAndWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Get the data at the specified znode and set a watch.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getDataAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-boolean-">getDataAndWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
boolean&nbsp;throwOnInterrupt)</code>
<div class="block">Get the data at the specified znode and set a watch.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getDataAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-org.apache.zookeeper.data.Stat-">getDataAndWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
org.apache.zookeeper.data.Stat&nbsp;stat)</code>
<div class="block">Get the data at the specified znode and set a watch.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>private static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getDataInternal-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-org.apache.zookeeper.data.Stat-boolean-boolean-">getDataInternal</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
org.apache.zookeeper.data.Stat&nbsp;stat,
boolean&nbsp;watcherSet,
boolean&nbsp;throwOnInterrupt)</code>&nbsp;</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getDataNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-org.apache.zookeeper.data.Stat-">getDataNoWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
org.apache.zookeeper.data.Stat&nbsp;stat)</code>
<div class="block">Get the data at the specified znode without setting a watch.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getNodeName-java.lang.String-">getNodeName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</code>
<div class="block">Get the name of the current node from the specified fully-qualified path.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getNumberOfChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">getNumberOfChildren</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Get the number of children of the specified node.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getParent-java.lang.String-">getParent</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</code>
<div class="block">Returns the full path of the immediate parent of the specified node.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getReplicationZnodesDump-org.apache.hadoop.hbase.zookeeper.ZKWatcher-">getReplicationZnodesDump</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw)</code>
<div class="block">Returns a string with replication znodes and position of the replication log</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getReplicationZnodesDump-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.StringBuilder-">getReplicationZnodesDump</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)</code>
<div class="block">Appends replication znodes to the passed StringBuilder.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getServerNameOrEmptyString-byte:A-">getServerNameOrEmptyString</a></span>(byte[]&nbsp;data)</code>&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#getServerStats-java.lang.String-int-">getServerStats</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;server,
int&nbsp;timeout)</code>
<div class="block">Gets the statistics from the given server.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#isSecureZooKeeper-org.apache.hadoop.conf.Configuration-">isSecureZooKeeper</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf)</code>
<div class="block">Returns whether or not secure authentication is enabled
(whether <code>hbase.security.authentication</code> is set to
<code>kerberos</code>.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#listChildrenAndWatchForNewChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">listChildrenAndWatchForNewChildren</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Lists the children znodes of the specified znode.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#listChildrenAndWatchThem-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">listChildrenAndWatchThem</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">List all the children of the specified znode, setting a watch for children
changes and also setting a watch on every individual child in order to get
the NodeCreated and NodeDeleted events.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#listChildrenBFSAndWatchThem-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">listChildrenBFSAndWatchThem</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">BFS Traversal of all the children under path, with the entries in the list,
in the same order as that of the traversal.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#listChildrenBFSNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">listChildrenBFSNoWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">BFS Traversal of all the children under path, with the entries in the list,
in the same order as that of the traversal.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#listChildrenNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">listChildrenNoWatch</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Lists the children of the specified znode without setting any watches.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#login-org.apache.hadoop.conf.Configuration-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">login</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;keytabFileKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userNameKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hostname,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;loginContextProperty,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;loginContextName)</code>
<div class="block">Log in the current process using the given configuration keys for the
credential file and login principal.</div>
</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#loginClient-org.apache.hadoop.conf.Configuration-java.lang.String-java.lang.String-java.lang.String-">loginClient</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;keytabFileKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userNameKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hostname)</code>
<div class="block">Log in the current zookeeper client using the given configuration
keys for the credential file and login principal.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#loginServer-org.apache.hadoop.conf.Configuration-java.lang.String-java.lang.String-java.lang.String-">loginServer</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;keytabFileKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userNameKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hostname)</code>
<div class="block">Log in the current zookeeper server process using the given configuration
keys for the credential file and login principal.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#logRetrievedMsg-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-boolean-">logRetrievedMsg</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
boolean&nbsp;watcherSet)</code>&nbsp;</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#logZKTree-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">logZKTree</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;root)</code>
<div class="block">Recursively print the current state of ZK (non-transactional)</div>
</td>
</tr>
<tr id="i58" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#logZKTree-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.String-">logZKTree</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;root,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</code>
<div class="block">Helper method to print the current state of the ZK tree.</div>
</td>
</tr>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#multiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.util.List-boolean-">multiOrSequential</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops,
boolean&nbsp;runSequentialOnMultiFailure)</code>
<div class="block">Use ZooKeeper's multi-update functionality.</div>
</td>
</tr>
<tr id="i60" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#nodeHasChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">nodeHasChildren</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Checks if the specified znode has any children.</div>
</td>
</tr>
<tr id="i61" class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#parseWALPositionFrom-byte:A-">parseWALPositionFrom</a></span>(byte[]&nbsp;bytes)</code>&nbsp;</td>
</tr>
<tr id="i62" class="altColor">
<td class="colFirst"><code>(package private) static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#partitionOps-java.util.List-int-">partitionOps</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops,
int&nbsp;maxPartitionSize)</code>
<div class="block">Partition the list of <code>ops</code> by size (using <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#estimateSize-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp-"><code>estimateSize(ZKUtilOp)</code></a>).</div>
</td>
</tr>
<tr id="i63" class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#positionToByteArray-long-">positionToByteArray</a></span>(long&nbsp;position)</code>&nbsp;</td>
</tr>
<tr id="i64" class="altColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#processSequentially-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.util.List-">processSequentially</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops)</code>&nbsp;</td>
</tr>
<tr id="i65" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#setData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">setData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)</code>
<div class="block">Sets the data of the existing znode to be the specified data.</div>
</td>
</tr>
<tr id="i66" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#setData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-int-">setData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
int&nbsp;expectedVersion)</code>
<div class="block">Sets the data of the existing znode to be the specified data.</div>
</td>
</tr>
<tr id="i67" class="rowColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#setData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.SetData-">setData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.SetData.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp.SetData</a>&nbsp;setData)</code>&nbsp;</td>
</tr>
<tr id="i68" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#setWatchIfNodeExists-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">setWatchIfNodeExists</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Watch the specified znode, but only if exists.</div>
</td>
</tr>
<tr id="i69" class="rowColor">
<td class="colFirst"><code>private static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#submitBatchedMultiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-boolean-java.util.List-">submitBatchedMultiOrSequential</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
boolean&nbsp;runSequentialOnMultiFailure,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops)</code>
<div class="block">Chunks the provided <code>ops</code> when their approximate size exceeds the the configured limit.</div>
</td>
</tr>
<tr id="i70" class="altColor">
<td class="colFirst"><code>private static org.apache.zookeeper.Op</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#toZooKeeperOp-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp-">toZooKeeperOp</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&nbsp;op)</code>
<div class="block">Convert from ZKUtilOp to ZKOp</div>
</td>
</tr>
<tr id="i71" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#updateExistingNodeData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-int-">updateExistingNodeData</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
int&nbsp;expectedVersion)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Unused</span></div>
</div>
</td>
</tr>
<tr id="i72" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#waitForBaseZNode-org.apache.hadoop.conf.Configuration-">waitForBaseZNode</a></span>(org.apache.hadoop.conf.Configuration&nbsp;conf)</code>
<div class="block">Waits for HBase installation's base (parent) znode to become available.</div>
</td>
</tr>
<tr id="i73" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#watchAndCheckExists-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">watchAndCheckExists</a></span>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)</code>
<div class="block">Watch the specified znode for delete/create/change events.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="LOG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOG</h4>
<pre>private static final&nbsp;org.slf4j.Logger <a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.94">LOG</a></pre>
</li>
</ul>
<a name="zkDumpConnectionTimeOut">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>zkDumpConnectionTimeOut</h4>
<pre>private static&nbsp;int <a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.96">zkDumpConnectionTimeOut</a></pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ZKUtil--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ZKUtil</h4>
<pre>private&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.98">ZKUtil</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="connect-org.apache.hadoop.conf.Configuration-org.apache.zookeeper.Watcher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html" title="class in org.apache.hadoop.hbase.zookeeper">RecoverableZooKeeper</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.112">connect</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
org.apache.zookeeper.Watcher&nbsp;watcher)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Creates a new connection to ZooKeeper, pulling settings and ensemble config
from the specified configuration object using methods from <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKConfig.html" title="class in org.apache.hadoop.hbase.zookeeper"><code>ZKConfig</code></a>.
Sets the connection status monitoring watcher to the specified watcher.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - configuration to pull ensemble and other settings from</dd>
<dd><code>watcher</code> - watcher to monitor connection changes</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>connection to zookeeper</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if unable to connect to zk or config problem</dd>
</dl>
</li>
</ul>
<a name="connect-org.apache.hadoop.conf.Configuration-java.lang.String-org.apache.zookeeper.Watcher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html" title="class in org.apache.hadoop.hbase.zookeeper">RecoverableZooKeeper</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.118">connect</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ensemble,
org.apache.zookeeper.Watcher&nbsp;watcher)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="connect-org.apache.hadoop.conf.Configuration-java.lang.String-org.apache.zookeeper.Watcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.html" title="class in org.apache.hadoop.hbase.zookeeper">RecoverableZooKeeper</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.124">connect</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ensemble,
org.apache.zookeeper.Watcher&nbsp;watcher,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;identifier)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
</dl>
</li>
</ul>
<a name="loginServer-org.apache.hadoop.conf.Configuration-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loginServer</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.160">loginServer</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;keytabFileKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userNameKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hostname)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Log in the current zookeeper server process using the given configuration
keys for the credential file and login principal.
<p><strong>This is only applicable when running on secure hbase</strong>
On regular HBase (without security features), this will safely be ignored.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - The configuration data to use</dd>
<dd><code>keytabFileKey</code> - Property key used to configure the path to the credential file</dd>
<dd><code>userNameKey</code> - Property key used to configure the login principal</dd>
<dd><code>hostname</code> - Current hostname to use in any credentials</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - underlying exception from SecurityUtil.login() call</dd>
</dl>
</li>
</ul>
<a name="loginClient-org.apache.hadoop.conf.Configuration-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loginClient</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.181">loginClient</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;keytabFileKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userNameKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hostname)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Log in the current zookeeper client using the given configuration
keys for the credential file and login principal.
<p><strong>This is only applicable when running on secure hbase</strong>
On regular HBase (without security features), this will safely be ignored.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - The configuration data to use</dd>
<dd><code>keytabFileKey</code> - Property key used to configure the path to the credential file</dd>
<dd><code>userNameKey</code> - Property key used to configure the login principal</dd>
<dd><code>hostname</code> - Current hostname to use in any credentials</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - underlying exception from SecurityUtil.login() call</dd>
</dl>
</li>
</ul>
<a name="login-org.apache.hadoop.conf.Configuration-java.lang.String-java.lang.String-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>login</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.204">login</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;keytabFileKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;userNameKey,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hostname,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;loginContextProperty,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;loginContextName)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Log in the current process using the given configuration keys for the
credential file and login principal.
<p><strong>This is only applicable when running on secure hbase</strong>
On regular HBase (without security features), this will safely be ignored.
</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>conf</code> - The configuration data to use</dd>
<dd><code>keytabFileKey</code> - Property key used to configure the path to the credential file</dd>
<dd><code>userNameKey</code> - Property key used to configure the login principal</dd>
<dd><code>hostname</code> - Current hostname to use in any credentials</dd>
<dd><code>loginContextProperty</code> - property name to expose the entry name</dd>
<dd><code>loginContextName</code> - jaas entry name</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - underlying exception from SecurityUtil.login() call</dd>
</dl>
</li>
</ul>
<a name="getParent-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParent</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.323">getParent</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</pre>
<div class="block">Returns the full path of the immediate parent of the specified node.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>node</code> - path to get parent of</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>parent of path, null if passed the root node or an invalid node</dd>
</dl>
</li>
</ul>
<a name="getNodeName-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeName</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.333">getNodeName</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;path)</pre>
<div class="block">Get the name of the current node from the specified fully-qualified path.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - fully-qualified path</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>name of the current node</dd>
</dl>
</li>
</ul>
<a name="watchAndCheckExists-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>watchAndCheckExists</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.351">watchAndCheckExists</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Watch the specified znode for delete/create/change events. The watcher is
set whether or not the node exists. If the node already exists, the method
returns true. If the node does not exist, the method returns false.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to watch</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if znode exists, false if does not exist or error</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="setWatchIfNodeExists-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWatchIfNodeExists</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.383">setWatchIfNodeExists</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Watch the specified znode, but only if exists. Useful when watching
for deletions. Uses .getData() (and handles NoNodeException) instead
of .exists() to accomplish this, as .getData() will only set a watch if
the znode exists.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to watch</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the watch is set, false if node does not exists</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="checkExists-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkExists</h4>
<pre>public static&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.405">checkExists</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Check if the specified node exists. Sets no watches.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to watch</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>version of the node if it exists, -1 if does not exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="listChildrenAndWatchForNewChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listChildrenAndWatchForNewChildren</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.441">listChildrenAndWatchForNewChildren</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Lists the children znodes of the specified znode. Also sets a watch on
the specified znode which will capture a NodeDeleted event on the specified
znode as well as NodeChildrenChanged if any children of the specified znode
are created or deleted.
Returns null if the specified node does not exist. Otherwise returns a
list of children of the specified node. If the node exists but it has no
children, an empty list will be returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to list and watch children of</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of children of the specified node, an empty list if the node
exists but has no children, and null if the node does not exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="listChildrenAndWatchThem-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listChildrenAndWatchThem</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.469">listChildrenAndWatchThem</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">List all the children of the specified znode, setting a watch for children
changes and also setting a watch on every individual child in order to get
the NodeCreated and NodeDeleted events.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zookeeper reference</dd>
<dd><code>znode</code> - node to get children of and watch</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of znode names, null if the node doesn't exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if a ZooKeeper operation fails</dd>
</dl>
</li>
</ul>
<a name="listChildrenNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listChildrenNoWatch</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.495">listChildrenNoWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Lists the children of the specified znode without setting any watches.
Sets no watches at all, this method is best effort.
Returns an empty list if the node has no children. Returns null if the
parent node itself does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zookeeper reference</dd>
<dd><code>znode</code> - node to get children</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of data of children of specified znode, empty if no children,
null if parent does not exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="nodeHasChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nodeHasChildren</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.552">nodeHasChildren</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Checks if the specified znode has any children. Sets no watches.
Returns true if the node exists and has children. Returns false if the
node does not exist or if the node does not have any children.
Used during master initialization to determine if the master is a
failed-over-to master or the first master during initial cluster startup.
If the directory for regionserver ephemeral nodes is empty then this is
a cluster startup, if not then it is not cluster startup.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to check for children of</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if node has children, false if not or node does not exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="getNumberOfChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumberOfChildren</h4>
<pre>public static&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.584">getNumberOfChildren</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Get the number of children of the specified node.
If the node does not exist or has no children, returns 0.
Sets no watches at all.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to count children of</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of children of specified node, 0 if none or parent does not
exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="getData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getData</h4>
<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.607">getData</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
<div class="block">Get znode data. Does not set a watcher.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ZNode data, null if the node does not exist or if there is an error.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd>
</dl>
</li>
</ul>
<a name="getDataAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataAndWatch</h4>
<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.635">getDataAndWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Get the data at the specified znode and set a watch.
Returns the data and sets a watch if the node exists. Returns null and no
watch is set if the node does not exist or there is an exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>data of the specified znode, or null</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="getDataAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataAndWatch</h4>
<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.650">getDataAndWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
boolean&nbsp;throwOnInterrupt)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Get the data at the specified znode and set a watch.
Returns the data and sets a watch if the node exists. Returns null and no
watch is set if the node does not exist or there is an exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>throwOnInterrupt</code> - if false then just interrupt the thread, do not throw exception</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>data of the specified znode, or null</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="getDataAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-org.apache.zookeeper.data.Stat-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataAndWatch</h4>
<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.667">getDataAndWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
org.apache.zookeeper.data.Stat&nbsp;stat)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Get the data at the specified znode and set a watch.
Returns the data and sets a watch if the node exists. Returns null and no
watch is set if the node does not exist or there is an exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>stat</code> - object to populate the version of the znode</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>data of the specified znode, or null</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="getDataInternal-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-org.apache.zookeeper.data.Stat-boolean-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataInternal</h4>
<pre>private static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.672">getDataInternal</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
org.apache.zookeeper.data.Stat&nbsp;stat,
boolean&nbsp;watcherSet,
boolean&nbsp;throwOnInterrupt)
throws org.apache.zookeeper.KeeperException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="getDataNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-org.apache.zookeeper.data.Stat-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataNoWatch</h4>
<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.715">getDataNoWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
org.apache.zookeeper.data.Stat&nbsp;stat)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Get the data at the specified znode without setting a watch.
Returns the data if the node exists. Returns null if the node does not
exist.
Sets the stats of the node in the passed Stat object. Pass a null stat if
not interested.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>stat</code> - node status to get if node exists</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>data of the specified znode, or null if node does not exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="getChildDataAndWatchForNewChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildDataAndWatchForNewChildren</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.NodeAndData.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.NodeAndData</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.755">getChildDataAndWatchForNewChildren</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;baseNode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Unused</span></div>
<div class="block">Returns the date of child znodes of the specified znode. Also sets a watch on
the specified znode which will capture a NodeDeleted event on the specified
znode as well as NodeChildrenChanged if any children of the specified znode
are created or deleted.
Returns null if the specified node does not exist. Otherwise returns a
list of children of the specified node. If the node exists but it has no
children, an empty list will be returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>baseNode</code> - path of node to list and watch children of</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of data of children of the specified node, an empty list if the node
exists but has no children, and null if the node does not exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="getChildDataAndWatchForNewChildren-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildDataAndWatchForNewChildren</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.NodeAndData.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.NodeAndData</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.779">getChildDataAndWatchForNewChildren</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;baseNode,
boolean&nbsp;throwOnInterrupt)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Unused</span></div>
<div class="block">Returns the date of child znodes of the specified znode. Also sets a watch on
the specified znode which will capture a NodeDeleted event on the specified
znode as well as NodeChildrenChanged if any children of the specified znode
are created or deleted.
Returns null if the specified node does not exist. Otherwise returns a
list of children of the specified node. If the node exists but it has no
children, an empty list will be returned.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>baseNode</code> - path of node to list and watch children of</dd>
<dd><code>throwOnInterrupt</code> - if true then just interrupt the thread, do not throw exception</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of data of children of the specified node, an empty list if the node
exists but has no children, and null if the node does not exist</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="updateExistingNodeData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateExistingNodeData</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.816">updateExistingNodeData</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
int&nbsp;expectedVersion)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Unused</span></div>
<div class="block">Update the data of an existing node with the expected version to have the
specified data.
Throws an exception if there is a version mismatch or some other problem.
Sets no watches under any conditions.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - the path to the ZNode</dd>
<dd><code>data</code> - the data to store in ZooKeeper</dd>
<dd><code>expectedVersion</code> - the expected version</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
<dd><code>KeeperException.BadVersionException</code> - if version mismatch</dd>
</dl>
</li>
</ul>
<a name="setData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setData</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.849">setData</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
int&nbsp;expectedVersion)
throws org.apache.zookeeper.KeeperException,
org.apache.zookeeper.KeeperException.NoNodeException</pre>
<div class="block">Sets the data of the existing znode to be the specified data. Ensures that
the current data has the specified expected version.
<p>If the node does not exist, a <code>KeeperException.NoNodeException</code> will be thrown.
<p>If their is a version mismatch, method returns null.
<p>No watches are set but setting data will trigger other watchers of this
node.
<p>If there is another problem, a KeeperException will be thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>data</code> - data to set for node</dd>
<dd><code>expectedVersion</code> - version expected when setting data</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if data set, false if version mismatch</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
<dd><code>org.apache.zookeeper.KeeperException.NoNodeException</code></dd>
</dl>
</li>
</ul>
<a name="createSetData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createSetData</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.869">createSetData</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Set data into node creating node if it doesn't yet exist.
Does not set watch.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>data</code> - data to set for node</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if a ZooKeeper operation fails</dd>
</dl>
</li>
</ul>
<a name="setData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setData</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.894">setData</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)
throws org.apache.zookeeper.KeeperException,
org.apache.zookeeper.KeeperException.NoNodeException</pre>
<div class="block">Sets the data of the existing znode to be the specified data. The node
must exist but no checks are done on the existing data or version.
<p>If the node does not exist, a <code>KeeperException.NoNodeException</code> will be thrown.
<p>No watches are set but setting data will trigger other watchers of this
node.
<p>If there is another problem, a KeeperException will be thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>data</code> - data to set for node</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
<dd><code>org.apache.zookeeper.KeeperException.NoNodeException</code></dd>
</dl>
</li>
</ul>
<a name="setData-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.SetData-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setData</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.899">setData</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.SetData.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp.SetData</a>&nbsp;setData)
throws org.apache.zookeeper.KeeperException,
org.apache.zookeeper.KeeperException.NoNodeException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
<dd><code>org.apache.zookeeper.KeeperException.NoNodeException</code></dd>
</dl>
</li>
</ul>
<a name="isSecureZooKeeper-org.apache.hadoop.conf.Configuration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSecureZooKeeper</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.910">isSecureZooKeeper</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
<div class="block">Returns whether or not secure authentication is enabled
(whether <code>hbase.security.authentication</code> is set to
<code>kerberos</code>.</div>
</li>
</ul>
<a name="createACL-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createACL</h4>
<pre>private static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.zookeeper.data.ACL&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.935">createACL</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)</pre>
</li>
</ul>
<a name="createACL-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createACL</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;org.apache.zookeeper.data.ACL&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.939">createACL</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node,
boolean&nbsp;isSecureZooKeeper)</pre>
</li>
</ul>
<a name="createEphemeralNodeAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEphemeralNodeAndWatch</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1007">createEphemeralNodeAndWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Set the specified znode to be an ephemeral node carrying the specified
data.
If the node is created successfully, a watcher is also set on the node.
If the node is not created successfully because it already exists, this
method will also set a watcher on the node.
If there is another problem, a KeeperException will be thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>data</code> - data of node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if node created, false if not, watch set in both cases</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="createNodeIfNotExistsAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNodeIfNotExistsAndWatch</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1047">createNodeIfNotExistsAndWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Creates the specified znode to be a persistent node carrying the specified
data.
Returns true if the node was successfully created, false if the node
already existed.
If the node is created successfully, a watcher is also set on the node.
If the node is not created successfully because it already exists, this
method will also set a watcher on the node but return false.
If there is another problem, a KeeperException will be thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>data</code> - data of node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if node created, false if not, watch set in both cases</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="createNodeIfNotExistsNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-org.apache.zookeeper.CreateMode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNodeIfNotExistsNoWatch</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1083">createNodeIfNotExistsNoWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
org.apache.zookeeper.CreateMode&nbsp;createMode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Creates the specified znode with the specified data but does not watch it.
Returns the znode of the newly created node
If there is another problem, a KeeperException will be thrown.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>data</code> - data of node</dd>
<dd><code>createMode</code> - specifying whether the node to be created is ephemeral and/or sequential</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true name of the newly created znode or null</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="createAndWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAndWatch</h4>
<pre>public static&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1114">createAndWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)
throws org.apache.zookeeper.KeeperException,
org.apache.zookeeper.KeeperException.NodeExistsException</pre>
<div class="block">Creates the specified node with the specified data and watches it.
<p>Throws an exception if the node already exists.
<p>The node created is persistent and open access.
<p>Returns the version number of the created node if successful.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to create</dd>
<dd><code>data</code> - data of node to create</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>version of node created</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
<dd><code>KeeperException.NodeExistsException</code> - if node already exists</dd>
</dl>
</li>
</ul>
<a name="asyncCreate-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-org.apache.zookeeper.AsyncCallback.StringCallback-java.lang.Object-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asyncCreate</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1147">asyncCreate</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
org.apache.zookeeper.AsyncCallback.StringCallback&nbsp;cb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;ctx)</pre>
<div class="block">Async creates the specified node with the specified data.
<p>Throws an exception if the node already exists.
<p>The node created is persistent and open access.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node to create</dd>
<dd><code>data</code> - data of node to create</dd>
<dd><code>cb</code> - the callback to use for the creation</dd>
<dd><code>ctx</code> - the context to use for the creation</dd>
</dl>
</li>
</ul>
<a name="createAndFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAndFailSilent</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1164">createAndFailSilent</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Creates the specified node, iff the node does not exist. Does not set a
watch and fails silently if the node already exists.
The node created is persistent and open access.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="createAndFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAndFailSilent</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1180">createAndFailSilent</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Creates the specified node containing specified data, iff the node does not exist. Does
not set a watch and fails silently if the node already exists.
The node created is persistent and open access.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dd><code>data</code> - a byte array data to store in the znode</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="createAndFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.CreateAndFailSilent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAndFailSilent</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1187">createAndFailSilent</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.CreateAndFailSilent.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp.CreateAndFailSilent</a>&nbsp;cafs)
throws org.apache.zookeeper.KeeperException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="createWithParents-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createWithParents</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1222">createWithParents</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Creates the specified node and all parent nodes required for it to exist.
No watches are set and no errors are thrown if the node already exists.
The nodes created are persistent and open access.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="createWithParents-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createWithParents</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1240">createWithParents</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Creates the specified node and all parent nodes required for it to exist. The creation of
parent znodes is not atomic with the leafe znode creation but the data is written atomically
when the leaf node is created.
No watches are set and no errors are thrown if the node already exists.
The nodes created are persistent and open access.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - zk reference</dd>
<dd><code>znode</code> - path of node</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected zookeeper exception</dd>
</dl>
</li>
</ul>
<a name="deleteNode-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNode</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1265">deleteNode</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Delete the specified node. Sets no watches. Throws all exceptions.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="deleteNode-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNode</h4>
<pre>public static&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1274">deleteNode</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node,
int&nbsp;version)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Delete the specified node with the specified version. Sets no watches.
Throws all exceptions.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="deleteNodeFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNodeFailSilent</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1295">deleteNodeFailSilent</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Deletes the specified node. Fails silent if the node does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - reference to the <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper"><code>ZKWatcher</code></a> which also contains configuration and operation</dd>
<dd><code>node</code> - the node to delete</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if a ZooKeeper operation fails</dd>
</dl>
</li>
</ul>
<a name="deleteNodeFailSilent-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp.DeleteNodeFailSilent-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNodeFailSilent</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1301">deleteNodeFailSilent</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.DeleteNodeFailSilent.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp.DeleteNodeFailSilent</a>&nbsp;dnfs)
throws org.apache.zookeeper.KeeperException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="deleteNodeRecursively-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNodeRecursively</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1321">deleteNodeRecursively</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Delete the specified node and all of it's children.
<p>
If the node does not exist, just returns.
<p>
Sets no watches. Throws all exceptions besides dealing with deletion of
children.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="deleteChildrenRecursively-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteChildrenRecursively</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1334">deleteChildrenRecursively</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;node)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Delete all the children of the specified node but not the node itself.
Sets no watches. Throws all exceptions besides dealing with deletion of
children.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if a ZooKeeper operation fails</dd>
</dl>
</li>
</ul>
<a name="deleteChildrenRecursivelyMultiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-boolean-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteChildrenRecursivelyMultiOrSequential</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1369">deleteChildrenRecursivelyMultiOrSequential</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
boolean&nbsp;runSequentialOnMultiFailure,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;pathRoots)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Delete all the children of the specified node but not the node itself. This
will first traverse the znode tree for listing the children and then delete
these znodes using multi-update api or sequential based on the specified
configurations.
<p>
Sets no watches. Throws all exceptions besides dealing with deletion of
children.
<p>
If the following is true:
<ul>
<li>runSequentialOnMultiFailure is true
</ul>
on calling multi, we get a ZooKeeper exception that can be handled by a
sequential call(*), we retry the operations one-by-one (sequentially).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - - zk reference</dd>
<dd><code>runSequentialOnMultiFailure</code> - - if true when we get a ZooKeeper exception that could retry the
operations one-by-one (sequentially)</dd>
<dd><code>pathRoots</code> - - path of the parent node(s)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>KeeperException.NotEmptyException</code> - if node has children while deleting</dd>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected ZooKeeper exception</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an invalid path is specified</dd>
</dl>
</li>
</ul>
<a name="deleteNodeRecursivelyMultiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-boolean-java.lang.String...-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNodeRecursivelyMultiOrSequential</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1417">deleteNodeRecursivelyMultiOrSequential</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
boolean&nbsp;runSequentialOnMultiFailure,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;pathRoots)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Delete the specified node and its children. This traverse the
znode tree for listing the children and then delete
these znodes including the parent using multi-update api or
sequential based on the specified configurations.
<p>
Sets no watches. Throws all exceptions besides dealing with deletion of
children.
<p>
If the following is true:
<ul>
<li>runSequentialOnMultiFailure is true
</ul>
on calling multi, we get a ZooKeeper exception that can be handled by a
sequential call(*), we retry the operations one-by-one (sequentially).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - - zk reference</dd>
<dd><code>runSequentialOnMultiFailure</code> - - if true when we get a ZooKeeper exception that could retry the
operations one-by-one (sequentially)</dd>
<dd><code>pathRoots</code> - - path of the parent node(s)</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>KeeperException.NotEmptyException</code> - if node has children while deleting</dd>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected ZooKeeper exception</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if an invalid path is specified</dd>
</dl>
</li>
</ul>
<a name="submitBatchedMultiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-boolean-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>submitBatchedMultiOrSequential</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1455">submitBatchedMultiOrSequential</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
boolean&nbsp;runSequentialOnMultiFailure,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Chunks the provided <code>ops</code> when their approximate size exceeds the the configured limit.
Take caution that this can ONLY be used for operations where atomicity is not important,
e.g. deletions. It must not be used when atomicity of the operations is critical.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - reference to the <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper"><code>ZKWatcher</code></a> which contains configuration and constants</dd>
<dd><code>runSequentialOnMultiFailure</code> - if true when we get a ZooKeeper exception that could
retry the operations one-by-one (sequentially)</dd>
<dd><code>ops</code> - list of ZKUtilOp <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper"><code>ZKUtil.ZKUtilOp</code></a> to partition while submitting batched multi
or sequential</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - unexpected ZooKeeper Exception / Zookeeper unreachable</dd>
</dl>
</li>
</ul>
<a name="partitionOps-java.util.List-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>partitionOps</h4>
<pre>static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1473">partitionOps</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops,
int&nbsp;maxPartitionSize)</pre>
<div class="block">Partition the list of <code>ops</code> by size (using <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#estimateSize-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp-"><code>estimateSize(ZKUtilOp)</code></a>).</div>
</li>
</ul>
<a name="estimateSize-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>estimateSize</h4>
<pre>static&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1500">estimateSize</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&nbsp;op)</pre>
</li>
</ul>
<a name="listChildrenBFSNoWatch-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listChildrenBFSNoWatch</h4>
<pre>private static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1517">listChildrenBFSNoWatch</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">BFS Traversal of all the children under path, with the entries in the list,
in the same order as that of the traversal. Lists all the children without
setting any watches.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - - zk reference</dd>
<dd><code>znode</code> - - path of node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of children znodes under the path</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected ZooKeeper exception</dd>
</dl>
</li>
</ul>
<a name="listChildrenBFSAndWatchThem-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listChildrenBFSAndWatchThem</h4>
<pre>private static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1553">listChildrenBFSAndWatchThem</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">BFS Traversal of all the children under path, with the entries in the list,
in the same order as that of the traversal.
Lists all the children and set watches on to them.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - - zk reference</dd>
<dd><code>znode</code> - - path of node</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of children znodes under the path</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if unexpected ZooKeeper exception</dd>
</dl>
</li>
</ul>
<a name="toZooKeeperOp-org.apache.hadoop.hbase.zookeeper.ZKWatcher-org.apache.hadoop.hbase.zookeeper.ZKUtil.ZKUtilOp-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toZooKeeperOp</h4>
<pre>private static&nbsp;org.apache.zookeeper.Op&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1742">toZooKeeperOp</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&nbsp;op)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></pre>
<div class="block">Convert from ZKUtilOp to ZKOp</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code></dd>
</dl>
</li>
</ul>
<a name="multiOrSequential-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.util.List-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>multiOrSequential</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1782">multiOrSequential</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops,
boolean&nbsp;runSequentialOnMultiFailure)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Use ZooKeeper's multi-update functionality.
If all of the following are true:
- runSequentialOnMultiFailure is true
- on calling multi, we get a ZooKeeper exception that can be handled by a sequential call(*)
Then:
- we retry the operations one-by-one (sequentially)
Note *: an example is receiving a NodeExistsException from a "create" call. Without multi,
a user could call "createAndFailSilent" to ensure that a node exists if they don't care who
actually created the node (i.e. the NodeExistsException from ZooKeeper is caught).
This will cause all operations in the multi to fail, however, because
the NodeExistsException that zk.create throws will fail the multi transaction.
In this case, if the previous conditions hold, the commands are run sequentially, which should
result in the correct final state, but means that the operations will not run atomically.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if a ZooKeeper operation fails</dd>
</dl>
</li>
</ul>
<a name="processSequentially-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processSequentially</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1821">processSequentially</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.ZKUtilOp.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKUtil.ZKUtilOp</a>&gt;&nbsp;ops)
throws org.apache.zookeeper.KeeperException,
org.apache.zookeeper.KeeperException.NoNodeException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
<dd><code>org.apache.zookeeper.KeeperException.NoNodeException</code></dd>
</dl>
</li>
</ul>
<a name="dump-org.apache.hadoop.hbase.zookeeper.ZKWatcher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dump</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1842">dump</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw)</pre>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>String dump of everything in ZooKeeper.</dd>
</dl>
</li>
</ul>
<a name="getReplicationZnodesDump-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReplicationZnodesDump</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1913">getReplicationZnodesDump</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Appends replication znodes to the passed StringBuilder.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - reference to the <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper"><code>ZKWatcher</code></a> which also contains configuration and operation</dd>
<dd><code>sb</code> - the <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> to append to</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if a ZooKeeper operation fails</dd>
</dl>
</li>
</ul>
<a name="appendHFileRefsZNodes-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendHFileRefsZNodes</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1939">appendHFileRefsZNodes</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;hFileRefsZNode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)
throws org.apache.zookeeper.KeeperException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="getReplicationZnodesDump-org.apache.hadoop.hbase.zookeeper.ZKWatcher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReplicationZnodesDump</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1961">getReplicationZnodesDump</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Returns a string with replication znodes and position of the replication log</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>zkw</code> - reference to the <a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper"><code>ZKWatcher</code></a> which also contains configuration and operation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>aq string of replication znodes and log positions</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="appendRSZnodes-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendRSZnodes</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1967">appendRSZnodes</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)
throws org.apache.zookeeper.KeeperException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="appendPeersZnodes-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendPeersZnodes</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.1998">appendPeersZnodes</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;peersZnode,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)
throws org.apache.zookeeper.KeeperException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
</dl>
</li>
</ul>
<a name="appendPeerState-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendPeerState</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2026">appendPeerState</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znodeToProcess,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb)
throws org.apache.zookeeper.KeeperException,
org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code></dd>
<dd><code>org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException</code></dd>
</dl>
</li>
</ul>
<a name="getServerStats-java.lang.String-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerStats</h4>
<pre>private static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2062">getServerStats</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;server,
int&nbsp;timeout)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Gets the statistics from the given server.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>server</code> - The server to get the statistics from.</dd>
<dd><code>timeout</code> - The socket timeout to use.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The array of response strings.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - When the socket communication fails.</dd>
</dl>
</li>
</ul>
<a name="logRetrievedMsg-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-byte:A-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logRetrievedMsg</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2100">logRetrievedMsg</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;znode,
byte[]&nbsp;data,
boolean&nbsp;watcherSet)</pre>
</li>
</ul>
<a name="getServerNameOrEmptyString-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getServerNameOrEmptyString</h4>
<pre>private static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2117">getServerNameOrEmptyString</a>(byte[]&nbsp;data)</pre>
</li>
</ul>
<a name="waitForBaseZNode-org.apache.hadoop.conf.Configuration-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForBaseZNode</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2129">waitForBaseZNode</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Waits for HBase installation's base (parent) znode to become available.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on ZK errors</dd>
</dl>
</li>
</ul>
<a name="convert-org.apache.hadoop.hbase.exceptions.DeserializationException-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convert</h4>
<pre>public static&nbsp;org.apache.zookeeper.KeeperException&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2173">convert</a>(<a href="../../../../../org/apache/hadoop/hbase/exceptions/DeserializationException.html" title="class in org.apache.hadoop.hbase.exceptions">DeserializationException</a>&nbsp;e)</pre>
<div class="block">Convert a <a href="../../../../../org/apache/hadoop/hbase/exceptions/DeserializationException.html" title="class in org.apache.hadoop.hbase.exceptions"><code>DeserializationException</code></a> to a more palatable <code>KeeperException</code>.
Used when can't let a <a href="../../../../../org/apache/hadoop/hbase/exceptions/DeserializationException.html" title="class in org.apache.hadoop.hbase.exceptions"><code>DeserializationException</code></a> out w/o changing public API.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>e</code> - Exception to convert</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Converted exception</dd>
</dl>
</li>
</ul>
<a name="logZKTree-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logZKTree</h4>
<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2183">logZKTree</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;root)</pre>
<div class="block">Recursively print the current state of ZK (non-transactional)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>root</code> - name of the root directory in zk to print</dd>
</dl>
</li>
</ul>
<a name="logZKTree-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logZKTree</h4>
<pre>private static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2203">logZKTree</a>(<a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZKWatcher</a>&nbsp;zkw,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;root,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)
throws org.apache.zookeeper.KeeperException</pre>
<div class="block">Helper method to print the current state of the ZK tree.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>org.apache.zookeeper.KeeperException</code> - if an unexpected exception occurs</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.html#logZKTree-org.apache.hadoop.hbase.zookeeper.ZKWatcher-java.lang.String-"><code>logZKTree(ZKWatcher, String)</code></a></dd>
</dl>
</li>
</ul>
<a name="positionToByteArray-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>positionToByteArray</h4>
<pre>public static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2223">positionToByteArray</a>(long&nbsp;position)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>position</code> - the position to serialize</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Serialized protobuf of <code>position</code> with pb magic prefix prepended suitable
for use as content of an wal position in a replication queue.</dd>
</dl>
</li>
</ul>
<a name="parseWALPositionFrom-byte:A-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>parseWALPositionFrom</h4>
<pre>public static&nbsp;long&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/zookeeper/ZKUtil.html#line.2234">parseWALPositionFrom</a>(byte[]&nbsp;bytes)
throws <a href="../../../../../org/apache/hadoop/hbase/exceptions/DeserializationException.html" title="class in org.apache.hadoop.hbase.exceptions">DeserializationException</a></pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bytes</code> - - Content of a WAL position znode.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>long - The current WAL position.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/exceptions/DeserializationException.html" title="class in org.apache.hadoop.hbase.exceptions">DeserializationException</a></code> - if the WAL position cannot be parsed</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ZKUtil.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKSplitLog.html" title="class in org.apache.hadoop.hbase.zookeeper"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/hadoop/hbase/zookeeper/ZKUtil.JaasConfiguration.html" title="class in org.apache.hadoop.hbase.zookeeper"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/hbase/zookeeper/ZKUtil.html" target="_top">Frames</a></li>
<li><a href="ZKUtil.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>