blob: 4de1882972482a8d001cae9448badbfe581abcc9 [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 (1.8.0_221) on Wed Jan 29 15:38:01 PST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.apache.twill.zookeeper.ZKClient (Apache Twill 0.14.0 API)</title>
<meta name="date" content="2020-01-29">
<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="Uses of Interface org.apache.twill.zookeeper.ZKClient (Apache Twill 0.14.0 API)";
}
}
catch(err) {
}
//-->
</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><a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/twill/zookeeper/class-use/ZKClient.html" target="_top">Frames</a></li>
<li><a href="ZKClient.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>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Interface org.apache.twill.zookeeper.ZKClient" class="title">Uses of Interface<br>org.apache.twill.zookeeper.ZKClient</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.twill.discovery">org.apache.twill.discovery</a></td>
<td class="colLast">
<div class="block">Classes in this package provides service discovery implementations.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.twill.internal">org.apache.twill.internal</a></td>
<td class="colLast">
<div class="block">This package provides internal classes for Twill.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.twill.zookeeper">org.apache.twill.zookeeper</a></td>
<td class="colLast">
<div class="block">This package provides functionality for ZooKeeper interactions.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.twill.discovery">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a> in <a href="../../../../../org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a> with parameters of type <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/discovery/ZKDiscoveryService.html#ZKDiscoveryService-org.apache.twill.zookeeper.ZKClient-">ZKDiscoveryService</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient)</code>
<div class="block">Constructs ZKDiscoveryService using the provided zookeeper client for storing service registry.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/discovery/ZKDiscoveryService.html#ZKDiscoveryService-org.apache.twill.zookeeper.ZKClient-java.lang.String-">ZKDiscoveryService</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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;namespace)</code>
<div class="block">Constructs ZKDiscoveryService using the provided zookeeper client for storing service registry under namespace.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.twill.internal">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a> in <a href="../../../../../org/apache/twill/internal/package-summary.html">org.apache.twill.internal</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../org/apache/twill/internal/package-summary.html">org.apache.twill.internal</a> declared as <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">AbstractZKServiceController.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/AbstractZKServiceController.html#zkClient">zkClient</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">AbstractTwillService.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/AbstractTwillService.html#zkClient">zkClient</a></span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/twill/internal/package-summary.html">org.apache.twill.internal</a> with parameters of type <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;V&gt;&nbsp;void</code></td>
<td class="colLast"><span class="typeNameLabel">ZKMessages.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/ZKMessages.html#sendMessage-org.apache.twill.zookeeper.ZKClient-java.lang.String-org.apache.twill.internal.state.Message-com.google.common.util.concurrent.SettableFuture-V-">sendMessage</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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;messagePathPrefix,
org.apache.twill.internal.state.Message&nbsp;message,
com.google.common.util.concurrent.SettableFuture&lt;V&gt;&nbsp;completion,
V&nbsp;completionResult)</code>
<div class="block">Creates a message node in zookeeper.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;V&gt;&nbsp;com.google.common.util.concurrent.ListenableFuture&lt;V&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ZKMessages.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/ZKMessages.html#sendMessage-org.apache.twill.zookeeper.ZKClient-java.lang.String-org.apache.twill.internal.state.Message-V-">sendMessage</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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;messagePathPrefix,
org.apache.twill.internal.state.Message&nbsp;message,
V&nbsp;completionResult)</code>
<div class="block">Creates a message node in zookeeper.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../org/apache/twill/internal/package-summary.html">org.apache.twill.internal</a> with parameters of type <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/AbstractTwillController.html#AbstractTwillController-java.lang.String-org.apache.twill.api.RunId-org.apache.twill.zookeeper.ZKClient-boolean-java.lang.Iterable-">AbstractTwillController</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;appName,
<a href="../../../../../org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api">RunId</a>&nbsp;runId,
<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
boolean&nbsp;logCollectionEnabled,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../org/apache/twill/api/logging/LogHandler.html" title="interface in org.apache.twill.api.logging">LogHandler</a>&gt;&nbsp;logHandlers)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/AbstractTwillService.html#AbstractTwillService-org.apache.twill.zookeeper.ZKClient-org.apache.twill.api.RunId-">AbstractTwillService</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<a href="../../../../../org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api">RunId</a>&nbsp;runId)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/AbstractZKServiceController.html#AbstractZKServiceController-org.apache.twill.api.RunId-org.apache.twill.zookeeper.ZKClient-">AbstractZKServiceController</a></span>(<a href="../../../../../org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api">RunId</a>&nbsp;runId,
<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/BasicTwillContext.html#BasicTwillContext-org.apache.twill.api.RunId-org.apache.twill.api.RunId-java.net.InetAddress-java.lang.String:A-java.lang.String:A-org.apache.twill.api.TwillRunnableSpecification-int-org.apache.twill.discovery.DiscoveryService-org.apache.twill.discovery.DiscoveryServiceClient-org.apache.twill.zookeeper.ZKClient-int-int-int-">BasicTwillContext</a></span>(<a href="../../../../../org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api">RunId</a>&nbsp;runId,
<a href="../../../../../org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api">RunId</a>&nbsp;appRunId,
<a href="https://docs.oracle.com/javase/8/docs/api/java/net/InetAddress.html?is-external=true" title="class or interface in java.net">InetAddress</a>&nbsp;host,
<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;args,
<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;appArgs,
<a href="../../../../../org/apache/twill/api/TwillRunnableSpecification.html" title="interface in org.apache.twill.api">TwillRunnableSpecification</a>&nbsp;spec,
int&nbsp;instanceId,
<a href="../../../../../org/apache/twill/discovery/DiscoveryService.html" title="interface in org.apache.twill.discovery">DiscoveryService</a>&nbsp;discoveryService,
<a href="../../../../../org/apache/twill/discovery/DiscoveryServiceClient.html" title="interface in org.apache.twill.discovery">DiscoveryServiceClient</a>&nbsp;discoveryServiceClient,
<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
int&nbsp;instanceCount,
int&nbsp;allowedMemoryMB,
int&nbsp;virtualCores)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/ElectionRegistry.html#ElectionRegistry-org.apache.twill.zookeeper.ZKClient-">ElectionRegistry</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/TwillContainerLauncher.html#TwillContainerLauncher-org.apache.twill.api.RuntimeSpecification-org.apache.twill.internal.ContainerInfo-org.apache.twill.internal.ProcessLauncher.PrepareLaunchContext-org.apache.twill.zookeeper.ZKClient-int-org.apache.twill.internal.JvmOptions-int-double-org.apache.twill.filesystem.Location-">TwillContainerLauncher</a></span>(<a href="../../../../../org/apache/twill/api/RuntimeSpecification.html" title="interface in org.apache.twill.api">RuntimeSpecification</a>&nbsp;runtimeSpec,
<a href="../../../../../org/apache/twill/internal/ContainerInfo.html" title="interface in org.apache.twill.internal">ContainerInfo</a>&nbsp;containerInfo,
<a href="../../../../../org/apache/twill/internal/ProcessLauncher.PrepareLaunchContext.html" title="interface in org.apache.twill.internal">ProcessLauncher.PrepareLaunchContext</a>&nbsp;launchContext,
<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
int&nbsp;instanceCount,
<a href="../../../../../org/apache/twill/internal/JvmOptions.html" title="class in org.apache.twill.internal">JvmOptions</a>&nbsp;jvmOpts,
int&nbsp;reservedMemory,
double&nbsp;minHeapRatio,
<a href="../../../../../org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a>&nbsp;secureStoreLocation)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/internal/ServiceMain.TwillZKPathService.html#TwillZKPathService-org.apache.twill.zookeeper.ZKClient-org.apache.twill.api.RunId-">TwillZKPathService</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<a href="../../../../../org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api">RunId</a>&nbsp;runId)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.twill.zookeeper">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a> in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subinterfaces, and an explanation">
<caption><span>Subinterfaces of <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a> in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Interface and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></span></code>
<div class="block">A <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that extends from <code>Service</code> to provide lifecycle management functions.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a> that implement <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></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>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></span></code>
<div class="block">An abstract base implementation of <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that simplifies implementation by providing forwarding for
methods that are meant to be delegated to other methods.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></span></code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a> that return <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">ForwardingZKClient.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#getDelegate--">getDelegate</a></span>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClients.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClients.html#namespace-org.apache.twill.zookeeper.ZKClient-java.lang.String-">namespace</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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;namespace)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that will add prefix namespace for every paths.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClients.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClients.html#retryOnFailure-org.apache.twill.zookeeper.ZKClient-org.apache.twill.zookeeper.RetryStrategy-">retryOnFailure</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;client,
<a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a>&nbsp;retryStrategy)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that will retry interim failure (e.g.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClients.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClients.html#reWatchOnExpire-org.apache.twill.zookeeper.ZKClient-">reWatchOnExpire</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;client)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that will perform auto re-watch on all existing watches
when reconnection happens after session expiration.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a> with parameters of type <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</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"><span class="typeNameLabel">ZKOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#createDeleteIfExists-org.apache.twill.zookeeper.ZKClient-java.lang.String-byte:A-org.apache.zookeeper.CreateMode-boolean-org.apache.zookeeper.data.ACL...-">createDeleteIfExists</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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,
byte[]&nbsp;data,
org.apache.zookeeper.CreateMode&nbsp;createMode,
boolean&nbsp;createParent,
org.apache.zookeeper.data.ACL...&nbsp;acls)</code>
<div class="block">Creates a ZK node of the given path.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClientServices.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClientServices.html#delegate-org.apache.twill.zookeeper.ZKClient-">delegate</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;client)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a> from the given <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> if the given <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> is an instance of
<a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a> or is a <a href="../../../../../org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper"><code>ForwardingZKClient</code></a> that eventually trace back to a delegate of type
<a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClientServices.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClientServices.html#delegate-org.apache.twill.zookeeper.ZKClient-org.apache.twill.zookeeper.ZKClientService-">delegate</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;client,
<a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a>&nbsp;clientService)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a> that for all <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> methods would be delegated to another
<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a>, while methods for <a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a> would be delegated to another <a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a>,
which the given <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> and <a href="../../../../../org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a> could be different instances.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClients.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClients.html#namespace-org.apache.twill.zookeeper.ZKClient-java.lang.String-">namespace</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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;namespace)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that will add prefix namespace for every paths.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</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"><span class="typeNameLabel">ZKOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#recursiveDelete-org.apache.twill.zookeeper.ZKClient-java.lang.String-">recursiveDelete</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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">Deletes the given path recursively.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClients.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClients.html#retryOnFailure-org.apache.twill.zookeeper.ZKClient-org.apache.twill.zookeeper.RetryStrategy-">retryOnFailure</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;client,
<a href="../../../../../org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a>&nbsp;retryStrategy)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that will retry interim failure (e.g.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKClients.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKClients.html#reWatchOnExpire-org.apache.twill.zookeeper.ZKClient-">reWatchOnExpire</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;client)</code>
<div class="block">Creates a <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> that will perform auto re-watch on all existing watches
when reconnection happens after session expiration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#watchChildren-org.apache.twill.zookeeper.ZKClient-java.lang.String-org.apache.twill.zookeeper.ZKOperations.ChildrenCallback-">watchChildren</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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,
<a href="../../../../../org/apache/twill/zookeeper/ZKOperations.ChildrenCallback.html" title="interface in org.apache.twill.zookeeper">ZKOperations.ChildrenCallback</a>&nbsp;callback)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="typeNameLabel">ZKOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#watchData-org.apache.twill.zookeeper.ZKClient-java.lang.String-org.apache.twill.zookeeper.ZKOperations.DataCallback-">watchData</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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,
<a href="../../../../../org/apache/twill/zookeeper/ZKOperations.DataCallback.html" title="interface in org.apache.twill.zookeeper">ZKOperations.DataCallback</a>&nbsp;callback)</code>
<div class="block">Watch for data changes of the given path.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static com.google.common.util.concurrent.ListenableFuture&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"><span class="typeNameLabel">ZKOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#watchDeleted-org.apache.twill.zookeeper.ZKClient-java.lang.String-">watchDeleted</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><span class="typeNameLabel">ZKOperations.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#watchDeleted-org.apache.twill.zookeeper.ZKClient-java.lang.String-com.google.common.util.concurrent.SettableFuture-">watchDeleted</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<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,
com.google.common.util.concurrent.SettableFuture&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;completion)</code>&nbsp;</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a> with parameters of type <a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#ForwardingZKClient-org.apache.twill.zookeeper.ZKClient-">ForwardingZKClient</a></span>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;delegate)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/twill/zookeeper/class-use/ZKClient.html" target="_top">Frames</a></li>
<li><a href="ZKClient.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>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2013-2020 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>