blob: 8235656a93f63296aebce7432838c32c86529e78 [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 (version 1.7.0_80) on Sat Apr 08 11:09:16 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.apache.twill.common.Cancellable (Apache Twill 0.11.0 API)</title>
<meta name="date" content="2017-04-08">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.apache.twill.common.Cancellable (Apache Twill 0.11.0 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/common/Cancellable.html" title="interface in org.apache.twill.common">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/common/class-use/Cancellable.html" target="_top">Frames</a></li>
<li><a href="Cancellable.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All 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.common.Cancellable" class="title">Uses of Interface<br>org.apache.twill.common.Cancellable</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</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.api">org.apache.twill.api</a></td>
<td class="colLast">
<div class="block">Classes in this package provides core functionality of the Twill library.</div>
</td>
</tr>
<tr class="rowColor">
<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="altColor">
<td class="colFirst"><a href="#org.apache.twill.kafka.client">org.apache.twill.kafka.client</a></td>
<td class="colLast">
<div class="block">This package provides Kafka client interfaces.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#org.apache.twill.yarn">org.apache.twill.yarn</a></td>
<td class="colLast">
<div class="block">Classes in this package implement the Twill API for Apache Hadoop YARN.</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.api">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a> in <a href="../../../../../org/apache/twill/api/package-summary.html">org.apache.twill.api</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/twill/api/package-summary.html">org.apache.twill.api</a> that return <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</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/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">ServiceAnnouncer.</span><code><strong><a href="../../../../../org/apache/twill/api/ServiceAnnouncer.html#announce(java.lang.String,%20int)">announce</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;serviceName,
int&nbsp;port)</code>
<div class="block">Registers an endpoint that could be discovered by external party.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">ServiceAnnouncer.</span><code><strong><a href="../../../../../org/apache/twill/api/ServiceAnnouncer.html#announce(java.lang.String,%20int,%20byte[])">announce</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;serviceName,
int&nbsp;port,
byte[]&nbsp;payload)</code>
<div class="block">Registers an endpoint that could be discovered by external party with a payload.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">TwillContext.</span><code><strong><a href="../../../../../org/apache/twill/api/TwillContext.html#electLeader(java.lang.String,%20org.apache.twill.api.ElectionHandler)">electLeader</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../../org/apache/twill/api/ElectionHandler.html" title="interface in org.apache.twill.api">ElectionHandler</a>&nbsp;participantHandler)</code>
<div class="block">Register to participate in a leader election by instances within the same <a href="../../../../../org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><code>TwillApplication</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">TwillRunner.</span><code><strong><a href="../../../../../org/apache/twill/api/TwillRunner.html#scheduleSecureStoreUpdate(org.apache.twill.api.SecureStoreUpdater,%20long,%20long,%20java.util.concurrent.TimeUnit)">scheduleSecureStoreUpdate</a></strong>(<a href="../../../../../org/apache/twill/api/SecureStoreUpdater.html" title="interface in org.apache.twill.api">SecureStoreUpdater</a>&nbsp;updater,
long&nbsp;initialDelay,
long&nbsp;delay,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Use <a href="../../../../../org/apache/twill/api/TwillRunner.html#setSecureStoreRenewer(org.apache.twill.api.security.SecureStoreRenewer,%20long,%20long,%20long,%20java.util.concurrent.TimeUnit)"><code>TwillRunner.setSecureStoreRenewer(SecureStoreRenewer, long, long, long, TimeUnit)</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">TwillRunner.</span><code><strong><a href="../../../../../org/apache/twill/api/TwillRunner.html#setSecureStoreRenewer(org.apache.twill.api.security.SecureStoreRenewer,%20long,%20long,%20long,%20java.util.concurrent.TimeUnit)">setSecureStoreRenewer</a></strong>(<a href="../../../../../org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security">SecureStoreRenewer</a>&nbsp;renewer,
long&nbsp;initialDelay,
long&nbsp;delay,
long&nbsp;retryDelay,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</code>
<div class="block">Sets and schedules a periodic renewal of <a href="../../../../../org/apache/twill/api/SecureStore.html" title="interface in org.apache.twill.api"><code>SecureStore</code></a> using a given <a href="../../../../../org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security"><code>SecureStoreRenewer</code></a>.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.twill.discovery">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a> in <a href="../../../../../org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a> that return <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</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/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">DiscoveryService.</span><code><strong><a href="../../../../../org/apache/twill/discovery/DiscoveryService.html#register(org.apache.twill.discovery.Discoverable)">register</a></strong>(<a href="../../../../../org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a>&nbsp;discoverable)</code>
<div class="block">Registers a <a href="../../../../../org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery"><code>Discoverable</code></a> service.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">ZKDiscoveryService.</span><code><strong><a href="../../../../../org/apache/twill/discovery/ZKDiscoveryService.html#register(org.apache.twill.discovery.Discoverable)">register</a></strong>(<a href="../../../../../org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a>&nbsp;discoverable)</code>
<div class="block">Registers a <a href="../../../../../org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery"><code>Discoverable</code></a> in zookeeper.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">InMemoryDiscoveryService.</span><code><strong><a href="../../../../../org/apache/twill/discovery/InMemoryDiscoveryService.html#register(org.apache.twill.discovery.Discoverable)">register</a></strong>(<a href="../../../../../org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a>&nbsp;discoverable)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">ServiceDiscovered.</span><code><strong><a href="../../../../../org/apache/twill/discovery/ServiceDiscovered.html#watchChanges(org.apache.twill.discovery.ServiceDiscovered.ChangeListener,%20java.util.concurrent.Executor)">watchChanges</a></strong>(<a href="../../../../../org/apache/twill/discovery/ServiceDiscovered.ChangeListener.html" title="interface in org.apache.twill.discovery">ServiceDiscovered.ChangeListener</a>&nbsp;listener,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent">Executor</a>&nbsp;executor)</code>
<div class="block">Registers a <a href="../../../../../org/apache/twill/discovery/ServiceDiscovered.ChangeListener.html" title="interface in org.apache.twill.discovery"><code>ServiceDiscovered.ChangeListener</code></a> to watch for changes in the discovery list.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.twill.kafka.client">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a> in <a href="../../../../../org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a> that return <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</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/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">BrokerService.</span><code><strong><a href="../../../../../org/apache/twill/kafka/client/BrokerService.html#addChangeListener(org.apache.twill.kafka.client.BrokerService.BrokerChangeListener,%20java.util.concurrent.Executor)">addChangeListener</a></strong>(<a href="../../../../../org/apache/twill/kafka/client/BrokerService.BrokerChangeListener.html" title="class in org.apache.twill.kafka.client">BrokerService.BrokerChangeListener</a>&nbsp;listener,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executor.html?is-external=true" title="class or interface in java.util.concurrent">Executor</a>&nbsp;executor)</code>
<div class="block">Adds a listener to changes in broker list managed by this service.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">KafkaConsumer.Preparer.</span><code><strong><a href="../../../../../org/apache/twill/kafka/client/KafkaConsumer.Preparer.html#consume(org.apache.twill.kafka.client.KafkaConsumer.MessageCallback)">consume</a></strong>(<a href="../../../../../org/apache/twill/kafka/client/KafkaConsumer.MessageCallback.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer.MessageCallback</a>&nbsp;callback)</code>
<div class="block">Starts the consumption as being configured by this <a href="../../../../../org/apache/twill/kafka/client/KafkaConsumer.Preparer.html" title="interface in org.apache.twill.kafka.client"><code>KafkaConsumer.Preparer</code></a>.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="org.apache.twill.yarn">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a> in <a href="../../../../../org/apache/twill/yarn/package-summary.html">org.apache.twill.yarn</a></h3>
<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/twill/yarn/package-summary.html">org.apache.twill.yarn</a> that return <a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</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/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">YarnTwillRunnerService.</span><code><strong><a href="../../../../../org/apache/twill/yarn/YarnTwillRunnerService.html#scheduleSecureStoreUpdate(org.apache.twill.api.SecureStoreUpdater,%20long,%20long,%20java.util.concurrent.TimeUnit)">scheduleSecureStoreUpdate</a></strong>(<a href="../../../../../org/apache/twill/api/SecureStoreUpdater.html" title="interface in org.apache.twill.api">SecureStoreUpdater</a>&nbsp;updater,
long&nbsp;initialDelay,
long&nbsp;delay,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">YarnTwillRunnerService.</span><code><strong><a href="../../../../../org/apache/twill/yarn/YarnTwillRunnerService.html#setSecureStoreRenewer(org.apache.twill.api.security.SecureStoreRenewer,%20long,%20long,%20long,%20java.util.concurrent.TimeUnit)">setSecureStoreRenewer</a></strong>(<a href="../../../../../org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security">SecureStoreRenewer</a>&nbsp;renewer,
long&nbsp;initialDelay,
long&nbsp;delay,
long&nbsp;retryDelay,
<a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;unit)</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/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a> in <a href="../../../../../org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></h3>
<table 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/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</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/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">ZKClient.</span><code><strong><a href="../../../../../org/apache/twill/zookeeper/ZKClient.html#addConnectionWatcher(org.apache.zookeeper.Watcher)">addConnectionWatcher</a></strong>(org.apache.zookeeper.Watcher&nbsp;watcher)</code>
<div class="block">Adds a <code>Watcher</code> that will be called whenever connection state change.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></code></td>
<td class="colLast"><span class="strong">ForwardingZKClient.</span><code><strong><a href="../../../../../org/apache/twill/zookeeper/ForwardingZKClient.html#addConnectionWatcher(org.apache.zookeeper.Watcher)">addConnectionWatcher</a></strong>(org.apache.zookeeper.Watcher&nbsp;watcher)</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="strong">ZKOperations.</span><code><strong><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#watchChildren(org.apache.twill.zookeeper.ZKClient,%20java.lang.String,%20org.apache.twill.zookeeper.ZKOperations.ChildrenCallback)">watchChildren</a></strong>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<a href="http://docs.oracle.com/javase/7/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="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="strong">ZKOperations.</span><code><strong><a href="../../../../../org/apache/twill/zookeeper/ZKOperations.html#watchData(org.apache.twill.zookeeper.ZKClient,%20java.lang.String,%20org.apache.twill.zookeeper.ZKOperations.DataCallback)">watchData</a></strong>(<a href="../../../../../org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a>&nbsp;zkClient,
<a href="http://docs.oracle.com/javase/7/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>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/common/Cancellable.html" title="interface in org.apache.twill.common">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/common/class-use/Cancellable.html" target="_top">Frames</a></li>
<li><a href="Cancellable.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All 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-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>