| <!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>Index (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="Index (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>Package</li> |
| <li>Class</li> |
| <li>Use</li> |
| <li><a href="./overview-tree.html">Tree</a></li> |
| <li><a href="./deprecated-list.html">Deprecated</a></li> |
| <li class="navBarCell1Rev">Index</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?index-all.html" target="_top">Frames</a></li> |
| <li><a href="index-all.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="contentContainer"><a href="#_A_">A</a> <a href="#_B_">B</a> <a href="#_C_">C</a> <a href="#_D_">D</a> <a href="#_E_">E</a> <a href="#_F_">F</a> <a href="#_G_">G</a> <a href="#_H_">H</a> <a href="#_I_">I</a> <a href="#_J_">J</a> <a href="#_K_">K</a> <a href="#_L_">L</a> <a href="#_M_">M</a> <a href="#_N_">N</a> <a href="#_O_">O</a> <a href="#_P_">P</a> <a href="#_R_">R</a> <a href="#_S_">S</a> <a href="#_T_">T</a> <a href="#_U_">U</a> <a href="#_V_">V</a> <a href="#_W_">W</a> <a href="#_Y_">Y</a> <a href="#_Z_">Z</a> <a name="_A_"> |
| <!-- --> |
| </a> |
| <h2 class="title">A</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutAction.html#abort()">abort()</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutAction.html" title="class in org.apache.twill.api">EventHandler.TimeoutAction</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/api/EventHandler.TimeoutAction.html" title="class in org.apache.twill.api"><code>EventHandler.TimeoutAction</code></a> to indicate aborting the application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api"><span class="strong">AbstractTwillRunnable</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This abstract class provides default implementation of the <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#AbstractTwillRunnable()">AbstractTwillRunnable()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#AbstractTwillRunnable(java.util.Map)">AbstractTwillRunnable(Map<String, String>)</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper"><span class="strong">AbstractZKClient</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#AbstractZKClient()">AbstractZKClient()</a></span> - Constructor for class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ClassAcceptor.html#accept(java.lang.String,%20java.net.URL,%20java.net.URL)">accept(String, URL, URL)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ClassAcceptor.html" title="class in org.apache.twill.api">ClassAcceptor</a></dt> |
| <dd> |
| <div class="block">Invoked to determine if class can be accepted.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ACLData.html" title="interface in org.apache.twill.zookeeper"><span class="strong">ACLData</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Represents result of call to <a href="./org/apache/twill/zookeeper/ZKClient.html#getACL(java.lang.String)"><code>ZKClient.getACL(String)</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html#add(java.lang.String,%20java.io.File)">add(String, File)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.LocalFileAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html#add(java.lang.String,%20java.net.URI)">add(String, URI)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.LocalFileAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html#add(java.lang.String,%20java.io.File,%20boolean)">add(String, File, boolean)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.LocalFileAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html#add(java.lang.String,%20java.net.URI,%20boolean)">add(String, URI, boolean)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.LocalFileAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html#add(java.lang.String,%20java.io.File,%20java.lang.String)">add(String, File, String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.LocalFileAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html#add(java.lang.String,%20java.net.URI,%20java.lang.String)">add(String, URI, String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.LocalFileAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#add(java.lang.String,%20java.io.File)">add(String, File)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#add(java.lang.String,%20java.net.URI)">add(String, URI)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#add(java.lang.String,%20java.io.File,%20boolean)">add(String, File, boolean)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#add(java.lang.String,%20java.net.URI,%20boolean)">add(String, URI, boolean)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#add(java.lang.String,%20java.io.File,%20java.lang.String)">add(String, File, String)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#add(java.lang.String,%20java.net.URI,%20java.lang.String)">add(String, URI, String)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html#add(org.apache.twill.api.Hosts,%20java.lang.String,%20java.lang.String...)">add(Hosts, String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MorePlacementPolicies</a></dt> |
| <dd> |
| <div class="block">Specify hosts for a list of runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html#add(org.apache.twill.api.Racks,%20java.lang.String,%20java.lang.String...)">add(Racks, String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MorePlacementPolicies</a></dt> |
| <dd> |
| <div class="block">Specify racks for a list of runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html#add(org.apache.twill.api.Hosts,%20org.apache.twill.api.Racks,%20java.lang.String,%20java.lang.String...)">add(Hosts, Racks, String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MorePlacementPolicies</a></dt> |
| <dd> |
| <div class="block">Specify hosts and racks for a list of runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html#add(org.apache.twill.api.TwillSpecification.PlacementPolicy.Type,%20java.lang.String,%20java.lang.String...)">add(TwillSpecification.PlacementPolicy.Type, String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MorePlacementPolicies</a></dt> |
| <dd> |
| <div class="block">Specify a placement policy for a list of runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html#add(org.apache.twill.api.TwillRunnable)">add(TwillRunnable)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MoreRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html#add(org.apache.twill.api.TwillRunnable,%20org.apache.twill.api.ResourceSpecification)">add(TwillRunnable, ResourceSpecification)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MoreRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html#add(java.lang.String,%20org.apache.twill.api.TwillRunnable)">add(String, TwillRunnable)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MoreRunnable</a></dt> |
| <dd> |
| <div class="block">Adds a <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> with <a href="./org/apache/twill/api/ResourceSpecification.html#BASIC"><code>ResourceSpecification.BASIC</code></a> resource specification.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html#add(java.lang.String,%20org.apache.twill.api.TwillRunnable,%20org.apache.twill.api.ResourceSpecification)">add(String, TwillRunnable, ResourceSpecification)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.MoreRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html#add(org.apache.twill.api.Hosts,%20java.lang.String,%20java.lang.String...)">add(Hosts, String, String...)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.PlacementPolicySetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html#add(org.apache.twill.api.Racks,%20java.lang.String,%20java.lang.String...)">add(Racks, String, String...)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.PlacementPolicySetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html#add(org.apache.twill.api.Hosts,%20org.apache.twill.api.Racks,%20java.lang.String,%20java.lang.String...)">add(Hosts, Racks, String, String...)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.PlacementPolicySetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html#add(org.apache.twill.api.TwillSpecification.PlacementPolicy.Type,%20java.lang.String,%20java.lang.String...)">add(TwillSpecification.PlacementPolicy.Type, String, String...)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.PlacementPolicySetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#add(org.apache.twill.api.TwillRunnable)">add(TwillRunnable)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#add(org.apache.twill.api.TwillRunnable,%20org.apache.twill.api.ResourceSpecification)">add(TwillRunnable, ResourceSpecification)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#add(java.lang.String,%20org.apache.twill.api.TwillRunnable)">add(String, TwillRunnable)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#add(java.lang.String,%20org.apache.twill.api.TwillRunnable,%20org.apache.twill.api.ResourceSpecification)">add(String, TwillRunnable, ResourceSpecification)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html#add(java.lang.String,%20int,%20long)">add(String, int, long)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer.Preparer</a></dt> |
| <dd> |
| <div class="block">Consumes messages from a given offset.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaPublisher.Preparer.html#add(java.nio.ByteBuffer,%20java.lang.Object)">add(ByteBuffer, Object)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaPublisher.Preparer.html" title="interface in org.apache.twill.kafka.client">KafkaPublisher.Preparer</a></dt> |
| <dd> |
| <div class="block">Adds the given message to the message set, partitioned with the given partition key.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html#addAuthInfo(java.lang.String,%20byte[])">addAuthInfo(String, byte[])</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</a></dt> |
| <dd> |
| <div class="block">Adds an authorization information.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerService.html#addChangeListener(org.apache.twill.kafka.client.BrokerService.BrokerChangeListener,%20java.util.concurrent.Executor)">addChangeListener(BrokerService.BrokerChangeListener, Executor)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerService.html" title="interface in org.apache.twill.kafka.client">BrokerService</a></dt> |
| <dd> |
| <div class="block">Adds a listener to changes in broker list managed by this service.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#addConnectionWatcher(org.apache.zookeeper.Watcher)">addConnectionWatcher(Watcher)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#addConnectionWatcher(org.apache.zookeeper.Watcher)">addConnectionWatcher(Watcher)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Adds a <code>Watcher</code> that will be called whenever connection state change.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html#addFromBeginning(java.lang.String,%20int)">addFromBeginning(String, int)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer.Preparer</a></dt> |
| <dd> |
| <div class="block">Consumes messages from the earliest message available.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#addJVMOptions(java.lang.String)">addJVMOptions(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">This methods adds extra JVM options that will be passed to the java command line for every runnable |
| of the application started through this <a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api"><code>TwillPreparer</code></a> instance.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html#addLatest(java.lang.String,%20int)">addLatest(String, int)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer.Preparer</a></dt> |
| <dd> |
| <div class="block">Consumes messages from the latest message.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#addListener(com.google.common.util.concurrent.Service.Listener,%20java.util.concurrent.Executor)">addListener(Service.Listener, Executor)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#addLogHandler(org.apache.twill.api.logging.LogHandler)">addLogHandler(LogHandler)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Adds a <a href="./org/apache/twill/api/logging/LogHandler.html" title="interface in org.apache.twill.api.logging"><code>LogHandler</code></a> for receiving application log.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#addLogHandler(org.apache.twill.api.logging.LogHandler)">addLogHandler(LogHandler)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds a <a href="./org/apache/twill/api/logging/LogHandler.html" title="interface in org.apache.twill.api.logging"><code>LogHandler</code></a> for receiving an application log.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Command.Builder.html#addOption(java.lang.String,%20java.lang.String)">addOption(String, String)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/Command.Builder.html" title="class in org.apache.twill.api">Command.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Command.Builder.html#addOptions(java.util.Map)">addOptions(Map<String, String>)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/Command.Builder.html" title="class in org.apache.twill.api">Command.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#addSecureStore(org.apache.twill.api.SecureStore)">addSecureStore(SecureStore)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds security credentials for the runtime environment to gives application access to resources.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceAnnouncer.html#announce(java.lang.String,%20int)">announce(String, int)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceAnnouncer.html" title="interface in org.apache.twill.api">ServiceAnnouncer</a></dt> |
| <dd> |
| <div class="block">Registers an endpoint that could be discovered by external party.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceAnnouncer.html#announce(java.lang.String,%20int,%20byte[])">announce(String, int, byte[])</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceAnnouncer.html" title="interface in org.apache.twill.api">ServiceAnnouncer</a></dt> |
| <dd> |
| <div class="block">Registers an endpoint that could be discovered by external party with a payload.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterPlacementPolicy.html#anyOrder()">anyOrder()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterPlacementPolicy.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.AfterPlacementPolicy</a></dt> |
| <dd> |
| <div class="block">No particular execution order is needed.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterRunnable.html#anyOrder()">anyOrder()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterRunnable.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.AfterRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html#anyOrder()">anyOrder()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.PlacementPolicySetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#anyOrder()">anyOrder()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#append(java.lang.String)">append(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Appends the child to the current <a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#apply()">apply()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#awaitTerminated()">awaitTerminated()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Waits for termination of the remote service.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#awaitTerminated(long,%20java.util.concurrent.TimeUnit)">awaitTerminated(long, TimeUnit)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Waits for termination of the remote service for no more than the given timeout limit.</div> |
| </dd> |
| </dl> |
| <a name="_B_"> |
| <!-- --> |
| </a> |
| <h2 class="title">B</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.html#BASIC">BASIC</a></span> - Static variable in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api">ResourceSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.FirstOrder.html#begin(java.lang.String,%20java.lang.String...)">begin(String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.FirstOrder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.FirstOrder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html#begin(java.lang.String,%20java.lang.String...)">begin(String, String...)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.OrderSetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/kafka/client/BrokerInfo.html" title="class in org.apache.twill.kafka.client"><span class="strong">BrokerInfo</span></a> - Class in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">Represents broker information.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerInfo.html#BrokerInfo()">BrokerInfo()</a></span> - Constructor for class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerInfo.html" title="class in org.apache.twill.kafka.client">BrokerInfo</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/kafka/client/BrokerService.html" title="interface in org.apache.twill.kafka.client"><span class="strong">BrokerService</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">Service for providing information of kafka brokers.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/BrokerService.BrokerChangeListener.html" title="class in org.apache.twill.kafka.client"><span class="strong">BrokerService.BrokerChangeListener</span></a> - Class in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">Listener for changes in broker list.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerService.BrokerChangeListener.html#BrokerService.BrokerChangeListener()">BrokerService.BrokerChangeListener()</a></span> - Constructor for class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerService.BrokerChangeListener.html" title="class in org.apache.twill.kafka.client">BrokerService.BrokerChangeListener</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Command.Builder.html#build()">build()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/Command.Builder.html" title="class in org.apache.twill.api">Command.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.Build.html#build()">build()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.Build.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.Build</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterConfigs.html#build()">build()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterConfigs.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder.AfterConfigs</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterOrder.html#build()">build()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterOrder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.AfterOrder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html#build()">build()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.OrderSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html#build()">build()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</a></dt> |
| <dd> |
| <div class="block">Creates an instance of <a href="./org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a> with the settings of this builder.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext"><span class="strong">BundledJarRunnable</span></a> - Class in <a href="./org/apache/twill/ext/package-summary.html">org.apache.twill.ext</a></dt> |
| <dd> |
| <div class="block">Uses <a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext"><code>BundledJarRunnable</code></a> to run a bundled jar.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#BundledJarRunnable()">BundledJarRunnable()</a></span> - Constructor for class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/ext/BundledJarRunner.html" title="class in org.apache.twill.ext"><span class="strong">BundledJarRunner</span></a> - Class in <a href="./org/apache/twill/ext/package-summary.html">org.apache.twill.ext</a></dt> |
| <dd> |
| <div class="block">Runs a bundled jar specified by jarPath.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.html#BundledJarRunner(java.io.File,%20org.apache.twill.ext.BundledJarRunner.Arguments)">BundledJarRunner(File, BundledJarRunner.Arguments)</a></span> - Constructor for class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.html" title="class in org.apache.twill.ext">BundledJarRunner</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext"><span class="strong">BundledJarRunner.Arguments</span></a> - Class in <a href="./org/apache/twill/ext/package-summary.html">org.apache.twill.ext</a></dt> |
| <dd> |
| <div class="block">Contains runtime arguments for <a href="./org/apache/twill/ext/BundledJarRunner.html" title="class in org.apache.twill.ext"><code>BundledJarRunner</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#BundledJarRunner.Arguments(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String[])">BundledJarRunner.Arguments(String, String, String, String[])</a></span> - Constructor for class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext"><span class="strong">BundledJarRunner.Arguments.Builder</span></a> - Class in <a href="./org/apache/twill/ext/package-summary.html">org.apache.twill.ext</a></dt> |
| <dd> |
| <div class="block">Builder for <a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext"><code>BundledJarRunner.Arguments</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html#BundledJarRunner.Arguments.Builder()">BundledJarRunner.Arguments.Builder()</a></span> - Constructor for class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments.Builder</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_C_"> |
| <!-- --> |
| </a> |
| <h2 class="title">C</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/common/Cancellable.html#cancel()">cancel()</a></span> - Method in interface org.apache.twill.common.<a href="./org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common">Cancellable</a></dt> |
| <dd> |
| <div class="block">Attempts to cancel execution of this task.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/common/Cancellable.html" title="interface in org.apache.twill.common"><span class="strong">Cancellable</span></a> - Interface in <a href="./org/apache/twill/common/package-summary.html">org.apache.twill.common</a></dt> |
| <dd> |
| <div class="block">Something, usually a task, that can be cancelled.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerService.BrokerChangeListener.html#changed(org.apache.twill.kafka.client.BrokerService)">changed(BrokerService)</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerService.BrokerChangeListener.html" title="class in org.apache.twill.kafka.client">BrokerService.BrokerChangeListener</a></dt> |
| <dd> |
| <div class="block">Invoked when there is a change in the broker list.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#changeInstances(java.lang.String,%20int)">changeInstances(String, int)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Changes the number of running instances of a given runnable.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ClassAcceptor.html" title="class in org.apache.twill.api"><span class="strong">ClassAcceptor</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Class that can be used to determine if class can be accepted.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ClassAcceptor.html#ClassAcceptor()">ClassAcceptor()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ClassAcceptor.html" title="class in org.apache.twill.api">ClassAcceptor</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ZKDiscoveryService.html#close()">close()</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ZKDiscoveryService.html" title="class in org.apache.twill.discovery">ZKDiscoveryService</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/Command.html" title="interface in org.apache.twill.api"><span class="strong">Command</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents command objects.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/Command.Builder.html" title="class in org.apache.twill.api"><span class="strong">Command.Builder</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Builder for creating <a href="./org/apache/twill/api/Command.html" title="interface in org.apache.twill.api"><code>Command</code></a> object.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/Compression.html" title="enum in org.apache.twill.kafka.client"><span class="strong">Compression</span></a> - Enum in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">An Enum representing different compression codec options for publishing messages.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/Configs.html" title="class in org.apache.twill.api"><span class="strong">Configs</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Defines keys and default values constants being used for configuration.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api"><span class="strong">Configs.Defaults</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Defines default configuration values.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api"><span class="strong">Configs.Keys</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Defines keys being used in configuration.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#configure()">configure()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.html#configure()">configure()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api">EventHandler</a></dt> |
| <dd> |
| <div class="block">Returns an <a href="./org/apache/twill/api/EventHandlerSpecification.html" title="interface in org.apache.twill.api"><code>EventHandlerSpecification</code></a> for configuring this handler class.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillApplication.html#configure()">configure()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api">TwillApplication</a></dt> |
| <dd> |
| <div class="block">Invoked when launching the application on the client side.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnable.html#configure()">configure()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api">TwillRunnable</a></dt> |
| <dd> |
| <div class="block">Called at submission time.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#configure()">configure()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html#consume(org.apache.twill.kafka.client.KafkaConsumer.MessageCallback)">consume(KafkaConsumer.MessageCallback)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer.Preparer</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ServiceDiscovered.html#contains(org.apache.twill.discovery.Discoverable)">contains(Discoverable)</a></span> - Method in interface org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ServiceDiscovered.html" title="interface in org.apache.twill.discovery">ServiceDiscovered</a></dt> |
| <dd> |
| <div class="block">Checks if the given discoverable contains in the current discovery list.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.html#context">context</a></span> - Variable in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api">EventHandler</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#create(java.lang.String)">create(String)</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#create(java.net.URI)">create(URI)</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocalLocationFactory.html#create(java.lang.String)">create(String)</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem">LocalLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocalLocationFactory.html#create(java.net.URI)">create(URI)</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem">LocalLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocationFactory.html#create(java.lang.String)">create(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></dt> |
| <dd> |
| <div class="block">Creates an instance of <a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a> of the given path.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocationFactory.html#create(java.net.URI)">create(URI)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></dt> |
| <dd> |
| <div class="block">Creates an instance of <a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a> based on <a href="http://docs.oracle.com/javase/7/docs/api/java/net/URI.html?is-external=true" title="class or interface in java.net"><code>URI</code></a> <code>uri</code>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnSecureStore.html#create(org.apache.hadoop.security.Credentials)">create(Credentials)</a></span> - Static method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnSecureStore.html" title="class in org.apache.twill.yarn">YarnSecureStore</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode)">create(String, byte[], CreateMode)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean)">create(String, byte[], CreateMode, boolean)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20java.lang.Iterable)">create(String, byte[], CreateMode, Iterable<ACL>)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)">create(String, byte[], CreateMode, boolean, Iterable<ACL>)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode)">create(String, byte[], CreateMode)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Creates a path in zookeeper.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean)">create(String, byte[], CreateMode, boolean)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Creates a path in zookeeper.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20java.lang.Iterable)">create(String, byte[], CreateMode, Iterable<ACL>)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Creates a path in zookeeper.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#create(java.lang.String,%20byte[],%20org.apache.zookeeper.CreateMode,%20boolean,%20java.lang.Iterable)">create(String, byte[], CreateMode, boolean, Iterable<ACL>)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Creates a path in zookeeper, with given data and create mode.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html#createArguments()">createArguments()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/common/Threads.html#createDaemonThreadFactory(java.lang.String)">createDaemonThreadFactory(String)</a></span> - Static method in class org.apache.twill.common.<a href="./org/apache/twill/common/Threads.html" title="class in org.apache.twill.common">Threads</a></dt> |
| <dd> |
| <div class="block">Handy method to create <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadFactory.html?is-external=true" title="class or interface in java.util.concurrent"><code>ThreadFactory</code></a> that creates daemon threads with the given name format.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#createLock(java.lang.String)">createLock(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/locks/Lock.html?is-external=true" title="class or interface in java.util.concurrent.locks"><code>Lock</code></a> for performing locking mechanism within the same <a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><code>TwillApplication</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#createNew()">createNew()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name |
| does not yet exist.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#createNew(java.lang.String)">createNew(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name |
| does not yet exist.</div> |
| </dd> |
| </dl> |
| <a name="_D_"> |
| <!-- --> |
| </a> |
| <h2 class="title">D</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientServices.html#delegate(org.apache.twill.zookeeper.ZKClient)">delegate(ZKClient)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientServices.html" title="class in org.apache.twill.zookeeper">ZKClientServices</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientServices.html#delegate(org.apache.twill.zookeeper.ZKClient,%20org.apache.twill.zookeeper.ZKClientService)">delegate(ZKClient, ZKClientService)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientServices.html" title="class in org.apache.twill.zookeeper">ZKClientServices</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#delete()">delete()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Deletes the file or directory denoted by this abstract pathname.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#delete(boolean)">delete(boolean)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Deletes the file or directory denoted by this abstract pathname.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#delete(java.lang.String)">delete(String)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#delete(java.lang.String,%20int)">delete(String, int)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String)">delete(String)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Deletes the node of the given path without matching version.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#delete(java.lang.String,%20int)">delete(String, int)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Deletes the node of the given path that match the given version.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#destroy()">destroy()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.html#destroy()">destroy()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api">EventHandler</a></dt> |
| <dd> |
| <div class="block">Invoked by the application when shutting down.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnable.html#destroy()">destroy()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api">TwillRunnable</a></dt> |
| <dd> |
| <div class="block">Called when the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true#run()" title="class or interface in java.lang"><code>Runnable.run()</code></a> completed.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#destroy()">destroy()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#discover(java.lang.String)">discover(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Discover service with the given name that is announced within the same <a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><code>TwillApplication</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/DiscoveryServiceClient.html#discover(java.lang.String)">discover(String)</a></span> - Method in interface org.apache.twill.discovery.<a href="./org/apache/twill/discovery/DiscoveryServiceClient.html" title="interface in org.apache.twill.discovery">DiscoveryServiceClient</a></dt> |
| <dd> |
| <div class="block">Discover service with the given name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/InMemoryDiscoveryService.html#discover(java.lang.String)">discover(String)</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/InMemoryDiscoveryService.html" title="class in org.apache.twill.discovery">InMemoryDiscoveryService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ZKDiscoveryService.html#discover(java.lang.String)">discover(String)</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ZKDiscoveryService.html" title="class in org.apache.twill.discovery">ZKDiscoveryService</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery"><span class="strong">Discoverable</span></a> - Class in <a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></dt> |
| <dd> |
| <div class="block">Discoverable defines the attributes of service to be discovered.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#Discoverable(java.lang.String,%20java.net.InetSocketAddress,%20byte[])">Discoverable(String, InetSocketAddress, byte[])</a></span> - Constructor for class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#Discoverable(java.lang.String,%20java.net.InetSocketAddress)">Discoverable(String, InetSocketAddress)</a></span> - Constructor for class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#discoverService(java.lang.String)">discoverService(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Discovers the set of <a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery"><code>Discoverable</code></a> endpoints that provides service for the given service name.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/discovery/DiscoveryService.html" title="interface in org.apache.twill.discovery"><span class="strong">DiscoveryService</span></a> - Interface in <a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></dt> |
| <dd> |
| <div class="block">DiscoveryService defines interface for registering <a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery"><code>Discoverable</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/discovery/DiscoveryServiceClient.html" title="interface in org.apache.twill.discovery"><span class="strong">DiscoveryServiceClient</span></a> - Interface in <a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></dt> |
| <dd> |
| <div class="block">Interface for <a href="./org/apache/twill/discovery/DiscoveryServiceClient.html" title="interface in org.apache.twill.discovery"><code>DiscoveryServiceClient</code></a> to discover services registered with <a href="./org/apache/twill/discovery/DiscoveryService.html" title="interface in org.apache.twill.discovery"><code>DiscoveryService</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#doInitialize(org.apache.twill.api.TwillContext)">doInitialize(TwillContext)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_E_"> |
| <!-- --> |
| </a> |
| <h2 class="title">E</h2> |
| <dl> |
| <dt><a href="./org/apache/twill/api/ElectionHandler.html" title="interface in org.apache.twill.api"><span class="strong">ElectionHandler</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Handles events of election/un-election of leader.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#electLeader(java.lang.String,%20org.apache.twill.api.ElectionHandler)">electLeader(String, ElectionHandler)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#enableDebugging(java.lang.String...)">enableDebugging(String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Enable debugging for runnables, without suspending the virtual machine to wait for the debugger.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#enableDebugging(boolean,%20java.lang.String...)">enableDebugging(boolean, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Enable debugging for runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerInfo.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerInfo.html" title="class in org.apache.twill.kafka.client">BrokerInfo</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/TopicPartition.html#equals(java.lang.Object)">equals(Object)</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/TopicPartition.html" title="class in org.apache.twill.kafka.client">TopicPartition</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api"><span class="strong">EventHandler</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">A callback handler for acting on application events related to <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> lifecycle events.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.html#EventHandler()">EventHandler()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api">EventHandler</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/EventHandler.TimeoutAction.html" title="class in org.apache.twill.api"><span class="strong">EventHandler.TimeoutAction</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents action to act upon runnable launch timeout.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html" title="class in org.apache.twill.api"><span class="strong">EventHandler.TimeoutEvent</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This class holds information about a launch timeout event.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html#EventHandler.TimeoutEvent(java.lang.String,%20int,%20int,%20long)">EventHandler.TimeoutEvent(String, int, int, long)</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html" title="class in org.apache.twill.api">EventHandler.TimeoutEvent</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/EventHandlerContext.html" title="interface in org.apache.twill.api"><span class="strong">EventHandlerContext</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents runtime context for <a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api"><code>EventHandler</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/EventHandlerSpecification.html" title="interface in org.apache.twill.api"><span class="strong">EventHandlerSpecification</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Specification for <a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api"><code>EventHandler</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#exists()">exists()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Checks if the this location exists.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#exists(java.lang.String)">exists(String)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)">exists(String, Watcher)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String)">exists(String)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Checks if the path exists.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#exists(java.lang.String,%20org.apache.zookeeper.Watcher)">exists(String, Watcher)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Checks if the given path exists and leave a watcher on the node for watching creation/deletion/data changes |
| on the node.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategies.html#exponentialDelay(long,%20long,%20java.util.concurrent.TimeUnit)">exponentialDelay(long, long, TimeUnit)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper">RetryStrategies</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that will increase delay exponentially between each retries.</div> |
| </dd> |
| </dl> |
| <a name="_F_"> |
| <!-- --> |
| </a> |
| <h2 class="title">F</h2> |
| <dl> |
| <dt><a href="./org/apache/twill/kafka/client/FetchedMessage.html" title="interface in org.apache.twill.kafka.client"><span class="strong">FetchedMessage</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#FILE_CONTEXT_CACHE_MAX_SIZE">FILE_CONTEXT_CACHE_MAX_SIZE</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default size of the file context cache.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#FILE_CONTEXT_CACHE_MAX_SIZE">FILE_CONTEXT_CACHE_MAX_SIZE</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">The maximum number of FileContext object cached by the FileContextLocationFactory.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem"><span class="strong">FileContextLocationFactory</span></a> - Class in <a href="./org/apache/twill/filesystem/package-summary.html">org.apache.twill.filesystem</a></dt> |
| <dd> |
| <div class="block">A <a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a> implementation that uses <code>FileContext</code> to create <a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#FileContextLocationFactory(org.apache.hadoop.conf.Configuration)">FileContextLocationFactory(Configuration)</a></span> - Constructor for class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> |
| <div class="block">Same as <a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#FileContextLocationFactory(org.apache.hadoop.conf.Configuration,%20java.lang.String)"><code>FileContextLocationFactory(configuration, "/")</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#FileContextLocationFactory(org.apache.hadoop.conf.Configuration,%20java.lang.String)">FileContextLocationFactory(Configuration, String)</a></span> - Constructor for class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> |
| <div class="block">Creates a new instance.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#FileContextLocationFactory(org.apache.hadoop.conf.Configuration,%20org.apache.hadoop.fs.FileContext,%20java.lang.String)">FileContextLocationFactory(Configuration, FileContext, String)</a></span> - Constructor for class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span> |
| <div class="block"><i>Use <a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#FileContextLocationFactory(org.apache.hadoop.conf.Configuration)"><code>FileContextLocationFactory.FileContextLocationFactory(Configuration)</code></a> |
| or <a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#FileContextLocationFactory(org.apache.hadoop.conf.Configuration,%20java.lang.String)"><code>FileContextLocationFactory.FileContextLocationFactory(Configuration, String)</code></a> instead. The <code>FileContext</code> |
| provided to this method will only be used if the current user calling any methods of this class |
| matches with the <code>UserGroupInformation</code> of the <code>FileContext</code> instance.</i></div> |
| </div> |
| </dd> |
| <dt><a href="./org/apache/twill/launcher/FindFreePort.html" title="class in org.apache.twill.launcher"><span class="strong">FindFreePort</span></a> - Class in <a href="./org/apache/twill/launcher/package-summary.html">org.apache.twill.launcher</a></dt> |
| <dd> |
| <div class="block">Utility main class to find a free port on a machine.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/launcher/FindFreePort.html#FindFreePort()">FindFreePort()</a></span> - Constructor for class org.apache.twill.launcher.<a href="./org/apache/twill/launcher/FindFreePort.html" title="class in org.apache.twill.launcher">FindFreePort</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaConsumer.MessageCallback.html#finished()">finished()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaConsumer.MessageCallback.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer.MessageCallback</a></dt> |
| <dd> |
| <div class="block">Invoked when message consumption is stopped.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategies.html#fixDelay(long,%20java.util.concurrent.TimeUnit)">fixDelay(long, TimeUnit)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper">RetryStrategies</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that imposes a fix delay between each retries.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ElectionHandler.html#follower()">follower()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ElectionHandler.html" title="interface in org.apache.twill.api">ElectionHandler</a></dt> |
| <dd> |
| <div class="block">This method will get invoked when a participant is a follower in a |
| leader election process.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/filesystem/ForwardingLocationFactory.html" title="class in org.apache.twill.filesystem"><span class="strong">ForwardingLocationFactory</span></a> - Class in <a href="./org/apache/twill/filesystem/package-summary.html">org.apache.twill.filesystem</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/ForwardingLocationFactory.html#ForwardingLocationFactory(org.apache.twill.filesystem.LocationFactory)">ForwardingLocationFactory(LocationFactory)</a></span> - Constructor for class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/ForwardingLocationFactory.html" title="class in org.apache.twill.filesystem">ForwardingLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper"><span class="strong">ForwardingZKClient</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#ForwardingZKClient(org.apache.twill.zookeeper.ZKClient)">ForwardingZKClient(ZKClient)</a></span> - Constructor for class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper"><span class="strong">ForwardingZKClientService</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#ForwardingZKClientService(org.apache.twill.zookeeper.ZKClientService)">ForwardingZKClientService(ZKClientService)</a></span> - Constructor for class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html#from(org.apache.twill.ext.BundledJarRunner.Arguments)">from(BundledJarRunner.Arguments)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#fromArray(java.lang.String[])">fromArray(String[])</a></span> - Static method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_G_"> |
| <!-- --> |
| </a> |
| <h2 class="title">G</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Hosts.html#get()">get()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/Hosts.html" title="class in org.apache.twill.api">Hosts</a></dt> |
| <dd> |
| <div class="block">Get the list of hosts.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Racks.html#get()">get()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/Racks.html" title="class in org.apache.twill.api">Racks</a></dt> |
| <dd> |
| <div class="block">Get the list of racks.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaPublisher.Ack.html#getAck()">getAck()</a></span> - Method in enum org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaPublisher.Ack.html" title="enum in org.apache.twill.kafka.client">KafkaPublisher.Ack</a></dt> |
| <dd> |
| <div class="block">Returns the numerical ack number as understand by Kafka server.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ACLData.html#getACL()">getACL()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ACLData.html" title="interface in org.apache.twill.zookeeper">ACLData</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#getACL(java.lang.String)">getACL(String)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#getACL(java.lang.String)">getACL(String)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Retrieves the Stat and ACL being set at the given path.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html#getActualInstances()">getActualInstances()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html" title="class in org.apache.twill.api">EventHandler.TimeoutEvent</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getApplicationArguments()">getApplicationArguments()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the runtime arguments that are passed to the <a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><code>TwillApplication</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceReport.html#getApplicationId()">getApplicationId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceReport.html" title="interface in org.apache.twill.api">ResourceReport</a></dt> |
| <dd> |
| <div class="block">Get the id of the application master.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.LiveInfo.html#getApplicationName()">getApplicationName()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.LiveInfo.html" title="interface in org.apache.twill.api">TwillRunner.LiveInfo</a></dt> |
| <dd> |
| <div class="block">Returns name of the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getApplicationRunId()">getApplicationRunId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the <a href="./org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api"><code>RunId</code></a> of this running application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceReport.html#getAppMasterResources()">getAppMasterResources()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceReport.html" title="interface in org.apache.twill.api">ResourceReport</a></dt> |
| <dd> |
| <div class="block">Get the resources application master is using.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#getArgument(java.lang.String)">getArgument(String)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#getArguments()">getArguments()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getArguments()">getArguments()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the runtime arguments that are passed to the <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#getArguments()">getArguments()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerService.html#getBrokerList()">getBrokerList()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerService.html" title="interface in org.apache.twill.kafka.client">BrokerService</a></dt> |
| <dd> |
| <div class="block">Returns a comma separate string of all current brokers.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerService.html#getBrokers()">getBrokers()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerService.html" title="interface in org.apache.twill.kafka.client">BrokerService</a></dt> |
| <dd> |
| <div class="block">Returns a live iterable that gives information for all the known brokers.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogThrowable.html#getCause()">getCause()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogThrowable.html" title="interface in org.apache.twill.api.logging">LogThrowable</a></dt> |
| <dd> |
| <div class="block">Returns the cause of this <a href="./org/apache/twill/api/logging/LogThrowable.html" title="interface in org.apache.twill.api.logging"><code>LogThrowable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#getChildren(java.lang.String)">getChildren(String)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)">getChildren(String, Watcher)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/NodeChildren.html#getChildren()">getChildren()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String)">getChildren(String)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Gets the list of children nodes under the given path.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)">getChildren(String, Watcher)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Gets the list of children nodes under the given path and leave a watcher on the node for watching node |
| deletion and children nodes creation/deletion.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandlerSpecification.html#getClassName()">getClassName()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/EventHandlerSpecification.html" title="interface in org.apache.twill.api">EventHandlerSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogThrowable.html#getClassName()">getClassName()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogThrowable.html" title="interface in org.apache.twill.api.logging">LogThrowable</a></dt> |
| <dd> |
| <div class="block">Returns the name of the Throwable class.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.html#getClassName()">getClassName()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.html" title="interface in org.apache.twill.api">TwillRunnableSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/Compression.html#getCodec()">getCodec()</a></span> - Method in enum org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/Compression.html" title="enum in org.apache.twill.kafka.client">Compression</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Command.html#getCommand()">getCommand()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/Command.html" title="interface in org.apache.twill.api">Command</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.html#getConfigs()">getConfigs()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api">EventHandler</a></dt> |
| <dd> |
| <div class="block">Returns set of configurations available at runtime for access.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandlerSpecification.html#getConfigs()">getConfigs()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/EventHandlerSpecification.html" title="interface in org.apache.twill.api">EventHandlerSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.html#getConfigs()">getConfigs()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.html" title="interface in org.apache.twill.api">TwillRunnableSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#getConfiguration()">getConfiguration()</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> |
| <div class="block">Returns the <code>Configuration</code> used by this <a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#getConnectString()">getConnectString()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#getConnectString()">getConnectString()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Returns the connection string used for connecting to Zookeeper.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaClient.html#getConsumer()">getConsumer()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaClient.html" title="interface in org.apache.twill.kafka.client">KafkaClient</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/kafka/client/KafkaConsumer.html" title="interface in org.apache.twill.kafka.client"><code>KafkaConsumer</code></a> for consuming messages.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getContainerId()">getContainerId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#getContext()">getContext()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.LiveInfo.html#getControllers()">getControllers()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.LiveInfo.html" title="interface in org.apache.twill.api">TwillRunner.LiveInfo</a></dt> |
| <dd> |
| <div class="block">Returns <a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api"><code>TwillController</code></a>s for all live instances of the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.html#getCores()">getCores()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api">ResourceSpecification</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span></div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#getData(java.lang.String)">getData(String)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)">getData(String, Watcher)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/NodeData.html#getData()">getData()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String)">getData(String)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Gets the data stored in the given path.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)">getData(String, Watcher)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Gets the data stored in the given path and leave a watcher on the node for watching deletion/data changes on |
| the node.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getDebugPort()">getDebugPort()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/ForwardingLocationFactory.html#getDelegate()">getDelegate()</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/ForwardingLocationFactory.html" title="class in org.apache.twill.filesystem">ForwardingLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#getDelegate()">getDelegate()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.html#getDownlink()">getDownlink()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api">ResourceSpecification</a></dt> |
| <dd> |
| <div class="block">Returns the downlink bandwidth in Mbps.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.html#getEventHandler()">getEventHandler()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.html" title="interface in org.apache.twill.api">TwillSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html#getExpectedInstances()">getExpectedInstances()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html" title="class in org.apache.twill.api">EventHandler.TimeoutEvent</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#getFileContext()">getFileContext()</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> |
| <div class="block">Returns the <code>FileContext</code> for the current user based on <code>UserGroupInformation.getCurrentUser()</code>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getFileName()">getFileName()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the source file name where the log emitted.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getGroup()">getGroup()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Returns the group of the location.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/FileContextLocationFactory.html#getHomeLocation()">getHomeLocation()</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem">FileContextLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocalLocationFactory.html#getHomeLocation()">getHomeLocation()</a></span> - Method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem">LocalLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocationFactory.html#getHomeLocation()">getHomeLocation()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem">LocationFactory</a></dt> |
| <dd> |
| <div class="block">Returns the home location.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getHost()">getHost()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns hostname of where the log emitted.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getHost()">getHost()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the hostname that the runnable is running on.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getHost()">getHost()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerInfo.html#getHost()">getHost()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerInfo.html" title="class in org.apache.twill.kafka.client">BrokerInfo</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html#getHosts()">getHosts()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html" title="interface in org.apache.twill.api">TwillSpecification.PlacementPolicy</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/RunId.html#getId()">getId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api">RunId</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getInputStream()">getInputStream()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getInstanceCount()">getInstanceCount()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the number of running instances assigned for this <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getInstanceId()">getInstanceId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns an integer id from 0 to (instanceCount - 1).</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getInstanceId()">getInstanceId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.html#getInstances()">getInstances()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api">ResourceSpecification</a></dt> |
| <dd> |
| <div class="block">Returns number of execution instances.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#getJarFileName()">getJarFileName()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#getJVMOptions()">getJVMOptions()</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> |
| <div class="block">Returns any extra JVM options that have been set.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/LocalFile.html#getLastModified()">getLastModified()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/LocalFile.html" title="interface in org.apache.twill.api">LocalFile</a></dt> |
| <dd> |
| <div class="block">Returns the the last modified time of the file or <code>-1</code> if unknown.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerService.html#getLeader(java.lang.String,%20int)">getLeader(String, int)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerService.html" title="interface in org.apache.twill.kafka.client">BrokerService</a></dt> |
| <dd> |
| <div class="block">Returns the broker information of the current leader of the given topic and partition.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#getLibFolder()">getLibFolder()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getLineNumber()">getLineNumber()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the line number in the source file where the log emitted.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/RuntimeSpecification.html#getLocalFiles()">getLocalFiles()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/RuntimeSpecification.html" title="interface in org.apache.twill.api">RuntimeSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getLocationFactory()">getLocationFactory()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Returns the location factory used to create this instance.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getLoggerName()">getLoggerName()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns name of the logger.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getLogLevel()">getLogLevel()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the log <a href="./org/apache/twill/api/logging/LogEntry.Level.html" title="enum in org.apache.twill.api.logging"><code>LogEntry.Level</code></a> of the log.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getLogLevel()">getLogLevel()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span> |
| <div class="block"><i>Use <a href="./org/apache/twill/api/TwillRunResources.html#getLogLevels()"><code>TwillRunResources.getLogLevels()</code></a> to get the log levels map and get root level from the map instead.</i></div> |
| </div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getLogLevels()">getLogLevels()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#getMainArgs()">getMainArgs()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#getMainClassName()">getMainClassName()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getMaxMemoryMB()">getMaxMemoryMB()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the amount of memory in MB the runnable is allowed to use.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getMemoryMB()">getMemoryMB()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.html#getMemorySize()">getMemorySize()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api">ResourceSpecification</a></dt> |
| <dd> |
| <div class="block">Returns the memory size in MB.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getMessage()">getMessage()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the log message.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogThrowable.html#getMessage()">getMessage()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogThrowable.html" title="interface in org.apache.twill.api.logging">LogThrowable</a></dt> |
| <dd> |
| <div class="block">Returns the message contained inside the Throwable.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/LocalFile.html#getName()">getName()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/LocalFile.html" title="interface in org.apache.twill.api">LocalFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/RuntimeSpecification.html#getName()">getName()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/RuntimeSpecification.html" title="interface in org.apache.twill.api">RuntimeSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.html#getName()">getName()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.html" title="interface in org.apache.twill.api">TwillRunnableSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.html#getName()">getName()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.html" title="interface in org.apache.twill.api">TwillSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#getName()">getName()</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ServiceDiscovered.html#getName()">getName()</a></span> - Method in interface org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ServiceDiscovered.html" title="interface in org.apache.twill.discovery">ServiceDiscovered</a></dt> |
| <dd> |
| <div class="block">Returns the name of the service being discovered.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getName()">getName()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Order.html#getNames()">getNames()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Order.html" title="interface in org.apache.twill.api">TwillSpecification.Order</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html#getNames()">getNames()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html" title="interface in org.apache.twill.api">TwillSpecification.PlacementPolicy</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/FetchedMessage.html#getNextOffset()">getNextOffset()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/FetchedMessage.html" title="interface in org.apache.twill.kafka.client">FetchedMessage</a></dt> |
| <dd> |
| <div class="block">Returns the offset for the next message to be read.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/FetchedMessage.html#getOffset()">getOffset()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/FetchedMessage.html" title="interface in org.apache.twill.kafka.client">FetchedMessage</a></dt> |
| <dd> |
| <div class="block">Returns the offset for the current message.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Command.html#getOptions()">getOptions()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/Command.html" title="interface in org.apache.twill.api">Command</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.html#getOrders()">getOrders()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.html" title="interface in org.apache.twill.api">TwillSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getOutputStream()">getOutputStream()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getOutputStream(java.lang.String)">getOutputStream(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Creates an <a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> for this location with the given permission.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getOwner()">getOwner()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Returns the owner of the location.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/TopicPartition.html#getPartition()">getPartition()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/TopicPartition.html" title="class in org.apache.twill.kafka.client">TopicPartition</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/LocalFile.html#getPattern()">getPattern()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/LocalFile.html" title="interface in org.apache.twill.api">LocalFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#getPayload()">getPayload()</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/FetchedMessage.html#getPayload()">getPayload()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/FetchedMessage.html" title="interface in org.apache.twill.kafka.client">FetchedMessage</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getPermissions()">getPermissions()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Returns the permissions of this <a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.html#getPlacementPolicies()">getPlacementPolicies()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.html" title="interface in org.apache.twill.api">TwillSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerInfo.html#getPort()">getPort()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerInfo.html" title="class in org.apache.twill.kafka.client">BrokerInfo</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaClient.html#getPublisher(org.apache.twill.kafka.client.KafkaPublisher.Ack,%20org.apache.twill.kafka.client.Compression)">getPublisher(KafkaPublisher.Ack, Compression)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaClient.html" title="interface in org.apache.twill.kafka.client">KafkaClient</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/kafka/client/KafkaPublisher.html" title="interface in org.apache.twill.kafka.client"><code>KafkaPublisher</code></a> that is ready for publish.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html#getRacks()">getRacks()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html" title="interface in org.apache.twill.api">TwillSpecification.PlacementPolicy</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/OperationFuture.html#getRequestPath()">getRequestPath()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper">OperationFuture</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html#getRequestTime()">getRequestTime()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html" title="class in org.apache.twill.api">EventHandler.TimeoutEvent</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#getResourceReport()">getResourceReport()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Get a snapshot of the resources used by the application, broken down by each runnable.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceReport.html#getResources()">getResources()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceReport.html" title="interface in org.apache.twill.api">ResourceReport</a></dt> |
| <dd> |
| <div class="block">Get all the run resources being used across all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/RuntimeSpecification.html#getResourceSpecification()">getResourceSpecification()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/RuntimeSpecification.html" title="interface in org.apache.twill.api">RuntimeSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#getRunId()">getRunId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Returns the <a href="./org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api"><code>RunId</code></a> of the running application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getRunId()">getRunId()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the <a href="./org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api"><code>RunId</code></a> of this running instance of <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html#getRunnableName()">getRunnableName()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutEvent.html" title="class in org.apache.twill.api">EventHandler.TimeoutEvent</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getRunnableName()">getRunnableName()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the runnable name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceReport.html#getRunnableResources(java.lang.String)">getRunnableResources(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceReport.html" title="interface in org.apache.twill.api">ResourceReport</a></dt> |
| <dd> |
| <div class="block">Get all the run resources being used by all instances of the specified runnable.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.html#getRunnables()">getRunnables()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.html" title="interface in org.apache.twill.api">TwillSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/RuntimeSpecification.html#getRunnableSpecification()">getRunnableSpecification()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/RuntimeSpecification.html" title="interface in org.apache.twill.api">RuntimeSpecification</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceReport.html#getServices()">getServices()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceReport.html" title="interface in org.apache.twill.api">ResourceReport</a></dt> |
| <dd> |
| <div class="block">Get the list of services of the application master.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#getSessionId()">getSessionId()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#getSessionId()">getSessionId()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Returns the current Zookeeper session ID of this client.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/LocalFile.html#getSize()">getSize()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/LocalFile.html" title="interface in org.apache.twill.api">LocalFile</a></dt> |
| <dd> |
| <div class="block">Returns the size of the file or <code>-1</code> if unknown.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#getSocketAddress()">getSocketAddress()</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getSourceClassName()">getSourceClassName()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the class name where the log emitted.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getSourceMethodName()">getSourceMethodName()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the method name where the log emitted.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandlerContext.html#getSpecification()">getSpecification()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/EventHandlerContext.html" title="interface in org.apache.twill.api">EventHandlerContext</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getSpecification()">getSpecification()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the <a href="./org/apache/twill/api/TwillRunnableSpecification.html" title="interface in org.apache.twill.api"><code>TwillRunnableSpecification</code></a> that was created by <a href="./org/apache/twill/api/TwillRunnable.html#configure()"><code>TwillRunnable.configure()</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getStackTraces()">getStackTraces()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span> |
| <div class="block"><i>Use <a href="./org/apache/twill/api/logging/LogEntry.html#getThrowable()"><code>LogEntry.getThrowable()</code></a> instead.</i></div> |
| </div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogThrowable.html#getStackTraces()">getStackTraces()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogThrowable.html" title="interface in org.apache.twill.api.logging">LogThrowable</a></dt> |
| <dd> |
| <div class="block">Returns the stack trace of the Throwable.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ACLData.html#getStat()">getStat()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ACLData.html" title="interface in org.apache.twill.zookeeper">ACLData</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/NodeChildren.html#getStat()">getStat()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper">NodeChildren</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/NodeData.html#getStat()">getStat()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper">NodeData</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/SecureStore.html#getStore()">getStore()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/SecureStore.html" title="interface in org.apache.twill.api">SecureStore</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnSecureStore.html#getStore()">getStore()</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnSecureStore.html" title="class in org.apache.twill.yarn">YarnSecureStore</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#getTempFile(java.lang.String)">getTempFile(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Returns unique location for temporary file to be placed near this location.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#getTerminationStatus()">getTerminationStatus()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Gets the termination status of the application represented by this controller.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getThreadName()">getThreadName()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the name of the thread where the log emitted.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getThrowable()">getThrowable()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> information emitted with the log.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutAction.html#getTimeout()">getTimeout()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutAction.html" title="class in org.apache.twill.api">EventHandler.TimeoutAction</a></dt> |
| <dd> |
| <div class="block">Returns timeout in milliseconds or <code>-1</code> if to abort the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.html#getTimestamp()">getTimestamp()</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging">LogEntry</a></dt> |
| <dd> |
| <div class="block">Returns timestamp of the log.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/TopicPartition.html#getTopic()">getTopic()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/TopicPartition.html" title="class in org.apache.twill.kafka.client">TopicPartition</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/FetchedMessage.html#getTopicPartition()">getTopicPartition()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/FetchedMessage.html" title="interface in org.apache.twill.kafka.client">FetchedMessage</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Order.html#getType()">getType()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Order.html" title="interface in org.apache.twill.api">TwillSpecification.Order</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html#getType()">getType()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html" title="interface in org.apache.twill.api">TwillSpecification.PlacementPolicy</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.html#getUplink()">getUplink()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api">ResourceSpecification</a></dt> |
| <dd> |
| <div class="block">Returns the uplink bandwidth in Mbps.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/LocalFile.html#getURI()">getURI()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/LocalFile.html" title="interface in org.apache.twill.api">LocalFile</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.html#getVirtualCores()">getVirtualCores()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api">ResourceSpecification</a></dt> |
| <dd> |
| <div class="block">Returns the number of virtual CPU cores.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillContext.html#getVirtualCores()">getVirtualCores()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api">TwillContext</a></dt> |
| <dd> |
| <div class="block">Returns the number of virtual cores the runnable is allowed to use.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunResources.html#getVirtualCores()">getVirtualCores()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api">TwillRunResources</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#getZooKeeperSupplier()">getZooKeeperSupplier()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientService.html#getZooKeeperSupplier()">getZooKeeperSupplier()</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper">ZKClientService</a></dt> |
| <dd> |
| <div class="block">Returns a <code>Supplier</code> of <code>ZooKeeper</code> that gives the current <code>ZooKeeper</code> in use at the moment |
| when <code>Supplier.get()</code> get called.</div> |
| </dd> |
| </dl> |
| <a name="_H_"> |
| <!-- --> |
| </a> |
| <h2 class="title">H</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#handleCommand(org.apache.twill.api.Command)">handleCommand(Command)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnable.html#handleCommand(org.apache.twill.api.Command)">handleCommand(Command)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api">TwillRunnable</a></dt> |
| <dd> |
| <div class="block">Called when a command is received.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#handleCommand(org.apache.twill.api.Command)">handleCommand(Command)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#hashCode()">hashCode()</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#hashCode()">hashCode()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerInfo.html#hashCode()">hashCode()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerInfo.html" title="class in org.apache.twill.kafka.client">BrokerInfo</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/TopicPartition.html#hashCode()">hashCode()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/TopicPartition.html" title="class in org.apache.twill.kafka.client">TopicPartition</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#HEAP_RESERVED_MIN_RATIO">HEAP_RESERVED_MIN_RATIO</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#HEAP_RESERVED_MIN_RATIO">HEAP_RESERVED_MIN_RATIO</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Configurable ratio between Heap and Reserved Memory.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/Hosts.html" title="class in org.apache.twill.api"><span class="strong">Hosts</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents a list of hosts.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Hosts.html#Hosts(java.util.Set)">Hosts(Set<String>)</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/Hosts.html" title="class in org.apache.twill.api">Hosts</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Hosts.html#Hosts(java.lang.String,%20java.lang.String...)">Hosts(String, String...)</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/Hosts.html" title="class in org.apache.twill.api">Hosts</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_I_"> |
| <!-- --> |
| </a> |
| <h2 class="title">I</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKOperations.html#ignoreError(org.apache.twill.zookeeper.OperationFuture,%20java.lang.Class,%20V)">ignoreError(OperationFuture<V>, Class<? extends KeeperException>, V)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper">ZKOperations</a></dt> |
| <dd> |
| <div class="block">Returns a new <a href="./org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><code>OperationFuture</code></a> that the result will be the same as the given future, except that when |
| the source future is having an exception matching the giving exception type, the errorResult will be set |
| in to the returned <a href="./org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><code>OperationFuture</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#initialize(org.apache.twill.api.TwillContext)">initialize(TwillContext)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.html#initialize(org.apache.twill.api.EventHandlerContext)">initialize(EventHandlerContext)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api">EventHandler</a></dt> |
| <dd> |
| <div class="block">Invoked by the application to initialize this EventHandler instance.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnable.html#initialize(org.apache.twill.api.TwillContext)">initialize(TwillContext)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api">TwillRunnable</a></dt> |
| <dd> |
| <div class="block">Called when the container process starts.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#initialize(org.apache.twill.api.TwillContext)">initialize(TwillContext)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/discovery/InMemoryDiscoveryService.html" title="class in org.apache.twill.discovery"><span class="strong">InMemoryDiscoveryService</span></a> - Class in <a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></dt> |
| <dd> |
| <div class="block">A simple in memory implementation of <a href="./org/apache/twill/discovery/DiscoveryService.html" title="interface in org.apache.twill.discovery"><code>DiscoveryService</code></a> and <a href="./org/apache/twill/discovery/DiscoveryServiceClient.html" title="interface in org.apache.twill.discovery"><code>DiscoveryServiceClient</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/InMemoryDiscoveryService.html#InMemoryDiscoveryService()">InMemoryDiscoveryService()</a></span> - Constructor for class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/InMemoryDiscoveryService.html" title="class in org.apache.twill.discovery">InMemoryDiscoveryService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/LocalFile.html#isArchive()">isArchive()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/LocalFile.html" title="interface in org.apache.twill.api">LocalFile</a></dt> |
| <dd> |
| <div class="block">Indicates whether this file is an archive.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#isDirectory()">isDirectory()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Checks if this location represents a directory.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#isRunning()">isRunning()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_J_"> |
| <!-- --> |
| </a> |
| <h2 class="title">J</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#JAVA_RESERVED_MEMORY_MB">JAVA_RESERVED_MEMORY_MB</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default have 200MB reserved for Java process.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#JAVA_RESERVED_MEMORY_MB">JAVA_RESERVED_MEMORY_MB</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Size in MB of reserved memory for Java process (non-heap memory).</div> |
| </dd> |
| </dl> |
| <a name="_K_"> |
| <!-- --> |
| </a> |
| <h2 class="title">K</h2> |
| <dl> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaClient.html" title="interface in org.apache.twill.kafka.client"><span class="strong">KafkaClient</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">Represents a kafka client that can publish/subscribe to a Kafka server cluster.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaClientService.html" title="interface in org.apache.twill.kafka.client"><span class="strong">KafkaClientService</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">A <a href="./org/apache/twill/kafka/client/KafkaClient.html" title="interface in org.apache.twill.kafka.client"><code>KafkaClient</code></a> that extends <code>Service</code> to provide lifecycle management.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaConsumer.html" title="interface in org.apache.twill.kafka.client"><span class="strong">KafkaConsumer</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">A consumer for consuming (reading) messages published to a Kafka server cluster.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaConsumer.MessageCallback.html" title="interface in org.apache.twill.kafka.client"><span class="strong">KafkaConsumer.MessageCallback</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">Callback for receiving new messages.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaConsumer.Preparer.html" title="interface in org.apache.twill.kafka.client"><span class="strong">KafkaConsumer.Preparer</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">A builder for preparing message consumption.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaPublisher.html" title="interface in org.apache.twill.kafka.client"><span class="strong">KafkaPublisher</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">This interface is for publishing data to Kafka.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaPublisher.Ack.html" title="enum in org.apache.twill.kafka.client"><span class="strong">KafkaPublisher.Ack</span></a> - Enum in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">Represents the desired level of publish acknowledgment.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/KafkaPublisher.Preparer.html" title="interface in org.apache.twill.kafka.client"><span class="strong">KafkaPublisher.Preparer</span></a> - Interface in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">A Preparer for preparing to publish messages to a given topic.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#kill()">kill()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Requests to forcefully kill a running service.</div> |
| </dd> |
| </dl> |
| <a name="_L_"> |
| <!-- --> |
| </a> |
| <h2 class="title">L</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#lastModified()">lastModified()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.html#launchTimeout(java.lang.Iterable)">launchTimeout(Iterable<EventHandler.TimeoutEvent>)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.html" title="class in org.apache.twill.api">EventHandler</a></dt> |
| <dd> |
| <div class="block">Invoked when the number of expected instances doesn't match with number of actual instances.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ElectionHandler.html#leader()">leader()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ElectionHandler.html" title="interface in org.apache.twill.api">ElectionHandler</a></dt> |
| <dd> |
| <div class="block">This method will get invoked when a participant becomes a leader in a |
| leader election process.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#length()">length()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategies.html#limit(int,%20org.apache.twill.zookeeper.RetryStrategy)">limit(int, RetryStrategy)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper">RetryStrategies</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that retries maximum given number of times, with the actual |
| delay behavior delegated to another <a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#list()">list()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">List the locations under this location.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.html#load()">load()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.html" title="class in org.apache.twill.ext">BundledJarRunner</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.html#load(java.lang.ClassLoader)">load(ClassLoader)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.html" title="class in org.apache.twill.ext">BundledJarRunner</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#LOCAL_STAGING_DIRECTORY">LOCAL_STAGING_DIRECTORY</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default use the system temp directory for local staging files.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#LOCAL_STAGING_DIRECTORY">LOCAL_STAGING_DIRECTORY</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Specifies the local directory for twill to store files generated at runtime.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/LocalFile.html" title="interface in org.apache.twill.api"><span class="strong">LocalFile</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This interface represents a local file that will be available for the container running a <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem"><span class="strong">LocalLocationFactory</span></a> - Class in <a href="./org/apache/twill/filesystem/package-summary.html">org.apache.twill.filesystem</a></dt> |
| <dd> |
| <div class="block">A <a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a> for creating local file <a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocalLocationFactory.html#LocalLocationFactory()">LocalLocationFactory()</a></span> - Constructor for class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem">LocalLocationFactory</a></dt> |
| <dd> |
| <div class="block">Constructs a LocalLocationFactory that Location created will be relative to system root.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocalLocationFactory.html#LocalLocationFactory(java.io.File)">LocalLocationFactory(File)</a></span> - Constructor for class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocalLocationFactory.html" title="class in org.apache.twill.filesystem">LocalLocationFactory</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><span class="strong">Location</span></a> - Interface in <a href="./org/apache/twill/filesystem/package-summary.html">org.apache.twill.filesystem</a></dt> |
| <dd> |
| <div class="block">This interface defines the location and operations of a resource on the filesystem.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#LOCATION_CACHE_ANTIQUE_EXPIRY_MS">LOCATION_CACHE_ANTIQUE_EXPIRY_MS</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default expiration is five minutes for location cache created by different twill runner.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#LOCATION_CACHE_ANTIQUE_EXPIRY_MS">LOCATION_CACHE_ANTIQUE_EXPIRY_MS</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Setting the expiration time in milliseconds of unused files created by older runs in the location cache.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#LOCATION_CACHE_DIR">LOCATION_CACHE_DIR</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Setting caching directory name for location cache.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#LOCATION_CACHE_EXPIRY_MS">LOCATION_CACHE_EXPIRY_MS</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default expiration is one day for location cache.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#LOCATION_CACHE_EXPIRY_MS">LOCATION_CACHE_EXPIRY_MS</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Setting the expiration time in milliseconds of unused files in the location cache.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/filesystem/LocationFactories.html" title="class in org.apache.twill.filesystem"><span class="strong">LocationFactories</span></a> - Class in <a href="./org/apache/twill/filesystem/package-summary.html">org.apache.twill.filesystem</a></dt> |
| <dd> |
| <div class="block">Provides helper methods for creating different <a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><span class="strong">LocationFactory</span></a> - Interface in <a href="./org/apache/twill/filesystem/package-summary.html">org.apache.twill.filesystem</a></dt> |
| <dd> |
| <div class="block">Factory for creating instance of <a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem"><code>Location</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#LOG_COLLECTION_ENABLED">LOG_COLLECTION_ENABLED</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default to enable log collection.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#LOG_COLLECTION_ENABLED">LOG_COLLECTION_ENABLED</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Setting for enabling log collection.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging"><span class="strong">LogEntry</span></a> - Interface in <a href="./org/apache/twill/api/logging/package-summary.html">org.apache.twill.api.logging</a></dt> |
| <dd> |
| <div class="block">Represents a log entry emitted by application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/logging/LogEntry.Level.html" title="enum in org.apache.twill.api.logging"><span class="strong">LogEntry.Level</span></a> - Enum in <a href="./org/apache/twill/api/logging/package-summary.html">org.apache.twill.api.logging</a></dt> |
| <dd> |
| <div class="block">Log level.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/logging/LogHandler.html" title="interface in org.apache.twill.api.logging"><span class="strong">LogHandler</span></a> - Interface in <a href="./org/apache/twill/api/logging/package-summary.html">org.apache.twill.api.logging</a></dt> |
| <dd> |
| <div class="block">Represents class that can receive logs from the application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/logging/LogThrowable.html" title="interface in org.apache.twill.api.logging"><span class="strong">LogThrowable</span></a> - Interface in <a href="./org/apache/twill/api/logging/package-summary.html">org.apache.twill.api.logging</a></dt> |
| <dd> |
| <div class="block">Carries <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> information in a <a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging"><code>LogEntry</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#lookup(java.lang.String,%20org.apache.twill.api.RunId)">lookup(String, RunId)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <div class="block">Gets a <a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api"><code>TwillController</code></a> for the given application and runId.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#lookup(java.lang.String)">lookup(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <div class="block">Gets an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> of <a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api"><code>TwillController</code></a> for all running instances of the given application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#lookup(java.lang.String,%20org.apache.twill.api.RunId)">lookup(String, RunId)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#lookup(java.lang.String)">lookup(String)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#lookupLive()">lookupLive()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <div class="block">Gets an <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> of <a href="./org/apache/twill/api/TwillRunner.LiveInfo.html" title="interface in org.apache.twill.api"><code>TwillRunner.LiveInfo</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#lookupLive()">lookupLive()</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_M_"> |
| <!-- --> |
| </a> |
| <h2 class="title">M</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/launcher/FindFreePort.html#main(java.lang.String[])">main(String[])</a></span> - Static method in class org.apache.twill.launcher.<a href="./org/apache/twill/launcher/FindFreePort.html" title="class in org.apache.twill.launcher">FindFreePort</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/launcher/TwillLauncher.html#main(java.lang.String[])">main(String[])</a></span> - Static method in class org.apache.twill.launcher.<a href="./org/apache/twill/launcher/TwillLauncher.html" title="class in org.apache.twill.launcher">TwillLauncher</a></dt> |
| <dd> |
| <div class="block">Main method to unpackage a jar and run the mainClass.main() method.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#mkdirs()">mkdirs()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Creates the directory named by this abstract pathname, including any necessary |
| but nonexistent parent directories.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#mkdirs(java.lang.String)">mkdirs(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Creates the directory named by this abstract pathname, including any necessary |
| but nonexistent parent directories.</div> |
| </dd> |
| </dl> |
| <a name="_N_"> |
| <!-- --> |
| </a> |
| <h2 class="title">N</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/LocationFactories.html#namespace(org.apache.twill.filesystem.LocationFactory,%20java.lang.String)">namespace(LocationFactory, String)</a></span> - Static method in class org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/LocationFactories.html" title="class in org.apache.twill.filesystem">LocationFactories</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/filesystem/LocationFactory.html" title="interface in org.apache.twill.filesystem"><code>LocationFactory</code></a> that always applies the giving namespace prefix.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClients.html#namespace(org.apache.twill.zookeeper.ZKClient,%20java.lang.String)">namespace(ZKClient, String)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper">ZKClients</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategy.html#nextRetry(int,%20long,%20org.apache.twill.zookeeper.RetryStrategy.OperationType,%20java.lang.String)">nextRetry(int, long, RetryStrategy.OperationType, String)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper">RetryStrategy</a></dt> |
| <dd> |
| <div class="block">Returns the number of milliseconds to wait before retrying the operation.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.NextOrder.html#nextWhenCompleted(java.lang.String,%20java.lang.String...)">nextWhenCompleted(String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.NextOrder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.NextOrder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html#nextWhenCompleted(java.lang.String,%20java.lang.String...)">nextWhenCompleted(String, String...)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.OrderSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.NextOrder.html#nextWhenStarted(java.lang.String,%20java.lang.String...)">nextWhenStarted(String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.NextOrder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.NextOrder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html#nextWhenStarted(java.lang.String,%20java.lang.String...)">nextWhenStarted(String, String...)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.OrderSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterName.html#noConfigs()">noConfigs()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterName.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder.AfterName</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/zookeeper/NodeChildren.html" title="interface in org.apache.twill.zookeeper"><span class="strong">NodeChildren</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Represents result of call to <a href="./org/apache/twill/zookeeper/ZKClient.html#getChildren(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>ZKClient.getChildren(String, org.apache.zookeeper.Watcher)</code></a> method.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/NodeData.html" title="interface in org.apache.twill.zookeeper"><span class="strong">NodeData</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Represents result of call to <a href="./org/apache/twill/zookeeper/ZKClient.html#getData(java.lang.String,%20org.apache.zookeeper.Watcher)"><code>ZKClient.getData(String, org.apache.zookeeper.Watcher)</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RuntimeSpecificationAdder.html#noLocalFiles()">noLocalFiles()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RuntimeSpecificationAdder.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RuntimeSpecificationAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategies.html#noRetry()">noRetry()</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper">RetryStrategies</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_O_"> |
| <!-- --> |
| </a> |
| <h2 class="title">O</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Command.Builder.html#of(java.lang.String)">of(String)</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/Command.Builder.html" title="class in org.apache.twill.api">Command.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Hosts.html#of(java.lang.String,%20java.lang.String...)">of(String, String...)</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/Hosts.html" title="class in org.apache.twill.api">Hosts</a></dt> |
| <dd> |
| <div class="block">Convenience method to create an instance of <a href="./org/apache/twill/api/Hosts.html" title="class in org.apache.twill.api"><code>Hosts</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Racks.html#of(java.lang.String,%20java.lang.String...)">of(String, String...)</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/Racks.html" title="class in org.apache.twill.api">Racks</a></dt> |
| <dd> |
| <div class="block">Convenience method to create an instance of <a href="./org/apache/twill/api/Racks.html" title="class in org.apache.twill.api"><code>Racks</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html#of(java.lang.String)">of(String)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><code>ZKClientService.Builder</code></a> with the given ZooKeeper connection string.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ServiceDiscovered.ChangeListener.html#onChange(org.apache.twill.discovery.ServiceDiscovered)">onChange(ServiceDiscovered)</a></span> - Method in interface org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ServiceDiscovered.ChangeListener.html" title="interface in org.apache.twill.discovery">ServiceDiscovered.ChangeListener</a></dt> |
| <dd> |
| <div class="block">This method will be invoked when the discovery list changed.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogHandler.html#onLog(org.apache.twill.api.logging.LogEntry)">onLog(LogEntry)</a></span> - Method in interface org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogHandler.html" title="interface in org.apache.twill.api.logging">LogHandler</a></dt> |
| <dd> |
| <div class="block">Invokes when there is new <a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging"><code>LogEntry</code></a> received from the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/PrinterLogHandler.html#onLog(org.apache.twill.api.logging.LogEntry)">onLog(LogEntry)</a></span> - Method in class org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/PrinterLogHandler.html" title="class in org.apache.twill.api.logging">PrinterLogHandler</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaConsumer.MessageCallback.html#onReceived(java.util.Iterator)">onReceived(Iterator<FetchedMessage>)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaConsumer.MessageCallback.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer.MessageCallback</a></dt> |
| <dd> |
| <div class="block">Invoked when new messages is available.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#onRunning(java.lang.Runnable,%20java.util.concurrent.Executor)">onRunning(Runnable, Executor)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Attaches a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><code>Runnable</code></a> that will get executed when the service is running.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#onTerminated(java.lang.Runnable,%20java.util.concurrent.Executor)">onTerminated(Runnable, Executor)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Attaches a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Runnable.html?is-external=true" title="class or interface in java.lang"><code>Runnable</code></a> that will get executed when the serivce is terminated.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/OperationFuture.html" title="interface in org.apache.twill.zookeeper"><span class="strong">OperationFuture</span></a><<a href="./org/apache/twill/zookeeper/OperationFuture.html" title="type parameter in OperationFuture">V</a>> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">A <code>ListenableFuture</code> that also provides the requested path for a operation.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a> - package org.apache.twill.api</dt> |
| <dd> |
| <div class="block">Classes in this package provides core functionality of the Twill library.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/logging/package-summary.html">org.apache.twill.api.logging</a> - package org.apache.twill.api.logging</dt> |
| <dd> |
| <div class="block">This package contains class for handling logging events.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/security/package-summary.html">org.apache.twill.api.security</a> - package org.apache.twill.api.security</dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/common/package-summary.html">org.apache.twill.common</a> - package org.apache.twill.common</dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a> - package org.apache.twill.discovery</dt> |
| <dd> |
| <div class="block">Classes in this package provides service discovery implementations.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/ext/package-summary.html">org.apache.twill.ext</a> - package org.apache.twill.ext</dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/filesystem/package-summary.html">org.apache.twill.filesystem</a> - package org.apache.twill.filesystem</dt> |
| <dd> |
| <div class="block">Contains HDFS location classes.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a> - package org.apache.twill.kafka.client</dt> |
| <dd> |
| <div class="block">This package provides Kafka client interfaces.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/launcher/package-summary.html">org.apache.twill.launcher</a> - package org.apache.twill.launcher</dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/yarn/package-summary.html">org.apache.twill.yarn</a> - package org.apache.twill.yarn</dt> |
| <dd> |
| <div class="block">Classes in this package implement the Twill API for Apache Hadoop YARN.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a> - package org.apache.twill.zookeeper</dt> |
| <dd> |
| <div class="block">This package provides functionality for ZooKeeper interactions.</div> |
| </dd> |
| </dl> |
| <a name="_P_"> |
| <!-- --> |
| </a> |
| <h2 class="title">P</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#prepare(org.apache.twill.api.TwillRunnable)">prepare(TwillRunnable)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <div class="block">Prepares to run the given <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> with <a href="./org/apache/twill/api/ResourceSpecification.html#BASIC"><code>ResourceSpecification.BASIC</code></a> resource specification.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#prepare(org.apache.twill.api.TwillRunnable,%20org.apache.twill.api.ResourceSpecification)">prepare(TwillRunnable, ResourceSpecification)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <div class="block">Prepares to run the given <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> with the given resource specification.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#prepare(org.apache.twill.api.TwillApplication)">prepare(TwillApplication)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <div class="block">Prepares to run the given <a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><code>TwillApplication</code></a> as specified by the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaConsumer.html#prepare()">prepare()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaConsumer.html" title="interface in org.apache.twill.kafka.client">KafkaConsumer</a></dt> |
| <dd> |
| <div class="block">Prepares for message consumption.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaPublisher.html#prepare(java.lang.String)">prepare(String)</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaPublisher.html" title="interface in org.apache.twill.kafka.client">KafkaPublisher</a></dt> |
| <dd> |
| <div class="block">Prepares to publish to a given topic.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#prepare(org.apache.twill.api.TwillRunnable)">prepare(TwillRunnable)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#prepare(org.apache.twill.api.TwillRunnable,%20org.apache.twill.api.ResourceSpecification)">prepare(TwillRunnable, ResourceSpecification)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#prepare(org.apache.twill.api.TwillApplication)">prepare(TwillApplication)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/logging/PrinterLogHandler.html" title="class in org.apache.twill.api.logging"><span class="strong">PrinterLogHandler</span></a> - Class in <a href="./org/apache/twill/api/logging/package-summary.html">org.apache.twill.api.logging</a></dt> |
| <dd> |
| <div class="block">A <a href="./org/apache/twill/api/logging/LogHandler.html" title="interface in org.apache.twill.api.logging"><code>LogHandler</code></a> that prints the <a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging"><code>LogEntry</code></a> through a <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io"><code>PrintWriter</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/PrinterLogHandler.html#PrinterLogHandler(java.io.PrintWriter)">PrinterLogHandler(PrintWriter)</a></span> - Constructor for class org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/PrinterLogHandler.html" title="class in org.apache.twill.api.logging">PrinterLogHandler</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/api/logging/PrinterLogHandler.html" title="class in org.apache.twill.api.logging"><code>PrinterLogHandler</code></a> which has <a href="./org/apache/twill/api/logging/LogEntry.html" title="interface in org.apache.twill.api.logging"><code>LogEntry</code></a> written to the given <a href="http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html?is-external=true" title="class or interface in java.io"><code>PrintWriter</code></a>.</div> |
| </dd> |
| </dl> |
| <a name="_R_"> |
| <!-- --> |
| </a> |
| <h2 class="title">R</h2> |
| <dl> |
| <dt><a href="./org/apache/twill/api/Racks.html" title="class in org.apache.twill.api"><span class="strong">Racks</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents a list of Racks.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Racks.html#Racks(java.util.Set)">Racks(Set<String>)</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/Racks.html" title="class in org.apache.twill.api">Racks</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Racks.html#Racks(java.lang.String,%20java.lang.String...)">Racks(String, String...)</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/Racks.html" title="class in org.apache.twill.api">Racks</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/EventHandler.TimeoutAction.html#recheck(long,%20java.util.concurrent.TimeUnit)">recheck(long, TimeUnit)</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/EventHandler.TimeoutAction.html" title="class in org.apache.twill.api">EventHandler.TimeoutAction</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/api/EventHandler.TimeoutAction.html" title="class in org.apache.twill.api"><code>EventHandler.TimeoutAction</code></a> to indicate recheck again after the given time has passed.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKOperations.html#recursiveDelete(org.apache.twill.zookeeper.ZKClient,%20java.lang.String)">recursiveDelete(ZKClient, String)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper">ZKOperations</a></dt> |
| <dd> |
| <div class="block">Deletes the given path recursively.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/DiscoveryService.html#register(org.apache.twill.discovery.Discoverable)">register(Discoverable)</a></span> - Method in interface org.apache.twill.discovery.<a href="./org/apache/twill/discovery/DiscoveryService.html" title="interface in org.apache.twill.discovery">DiscoveryService</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/InMemoryDiscoveryService.html#register(org.apache.twill.discovery.Discoverable)">register(Discoverable)</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/InMemoryDiscoveryService.html" title="class in org.apache.twill.discovery">InMemoryDiscoveryService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ZKDiscoveryService.html#register(org.apache.twill.discovery.Discoverable)">register(Discoverable)</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ZKDiscoveryService.html" title="class in org.apache.twill.discovery">ZKDiscoveryService</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#renameTo(org.apache.twill.filesystem.Location)">renameTo(Location)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Moves the file or directory denoted by this abstract pathname.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/security/SecureStoreRenewer.html#renew(java.lang.String,%20org.apache.twill.api.RunId,%20org.apache.twill.api.security.SecureStoreWriter)">renew(String, RunId, SecureStoreWriter)</a></span> - Method in class org.apache.twill.api.security.<a href="./org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security">SecureStoreRenewer</a></dt> |
| <dd> |
| <div class="block">Renew the secure store for an application run.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#resetLogLevels(java.lang.String...)">resetLogLevels(String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Reset the log levels of all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#resetRunnableLogLevels(java.lang.String,%20java.lang.String...)">resetRunnableLogLevels(String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Reset the log levels of the given runnable.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ResourceReport.html" title="interface in org.apache.twill.api"><span class="strong">ResourceReport</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This interface provides a snapshot of the resources an application is using |
| broken down by each runnable.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api"><span class="strong">ResourceSpecification</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This interface provides specifications for resource requirements including set and get methods |
| for number of cores, amount of memory, and number of instances.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Builder for creating <a href="./org/apache/twill/api/ResourceSpecification.html" title="interface in org.apache.twill.api"><code>ResourceSpecification</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterInstances.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder.AfterInstances</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterInstances.html#ResourceSpecification.Builder.AfterInstances()">ResourceSpecification.Builder.AfterInstances()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterInstances.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.AfterInstances</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterMemory.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder.AfterMemory</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterMemory.html#ResourceSpecification.Builder.AfterMemory()">ResourceSpecification.Builder.AfterMemory()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterMemory.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.AfterMemory</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterUplink.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder.AfterUplink</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterUplink.html#ResourceSpecification.Builder.AfterUplink()">ResourceSpecification.Builder.AfterUplink()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterUplink.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.AfterUplink</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.Build.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder.Build</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.Build.html#ResourceSpecification.Builder.Build()">ResourceSpecification.Builder.Build()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.Build.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.Build</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.CoreSetter.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder.CoreSetter</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.CoreSetter.html#ResourceSpecification.Builder.CoreSetter()">ResourceSpecification.Builder.CoreSetter()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.CoreSetter.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.CoreSetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.Done.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder.Done</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.Done.html#ResourceSpecification.Builder.Done()">ResourceSpecification.Builder.Done()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.Done.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.Done</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.Builder.MemorySetter.html" title="class in org.apache.twill.api"><span class="strong">ResourceSpecification.Builder.MemorySetter</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.MemorySetter.html#ResourceSpecification.Builder.MemorySetter()">ResourceSpecification.Builder.MemorySetter()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.MemorySetter.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.MemorySetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/ResourceSpecification.SizeUnit.html" title="enum in org.apache.twill.api"><span class="strong">ResourceSpecification.SizeUnit</span></a> - Enum in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Unit for specifying memory size.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#restartAllInstances(java.lang.String)">restartAllInstances(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Restart all instances of a particular <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#restartInstances(java.util.Map)">restartInstances(Map<String, ? extends Set<Integer>>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Restart instances of some <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#restartInstances(java.lang.String,%20int,%20int...)">restartInstances(String, int, int...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Restart instances of some <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClients.html#retryOnFailure(org.apache.twill.zookeeper.ZKClient,%20org.apache.twill.zookeeper.RetryStrategy)">retryOnFailure(ZKClient, RetryStrategy)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper">ZKClients</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper"><span class="strong">RetryStrategies</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Factory for creating common <a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> implementation.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><span class="strong">RetryStrategy</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Provides strategy to use for operation retries.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper"><span class="strong">RetryStrategy.OperationType</span></a> - Enum in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Defines ZooKeeper operation type that triggers retry.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClients.html#reWatchOnExpire(org.apache.twill.zookeeper.ZKClient)">reWatchOnExpire(ZKClient)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper">ZKClients</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#run()">run()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.html#run()">run()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.html" title="class in org.apache.twill.ext">BundledJarRunner</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/RunId.html" title="interface in org.apache.twill.api"><span class="strong">RunId</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents the unique ID of a particular execution.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/RuntimeSpecification.html" title="interface in org.apache.twill.api"><span class="strong">RuntimeSpecification</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Specifications for runtime requirements.</div> |
| </dd> |
| </dl> |
| <a name="_S_"> |
| <!-- --> |
| </a> |
| <h2 class="title">S</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/common/Threads.html#SAME_THREAD_EXECUTOR">SAME_THREAD_EXECUTOR</a></span> - Static variable in class org.apache.twill.common.<a href="./org/apache/twill/common/Threads.html" title="class in org.apache.twill.common">Threads</a></dt> |
| <dd> |
| <div class="block">A executor that execute task from the submitter thread.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#scheduleSecureStoreUpdate(org.apache.twill.api.SecureStoreUpdater,%20long,%20long,%20java.util.concurrent.TimeUnit)">scheduleSecureStoreUpdate(SecureStoreUpdater, long, long, TimeUnit)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#scheduleSecureStoreUpdate(org.apache.twill.api.SecureStoreUpdater,%20long,%20long,%20java.util.concurrent.TimeUnit)">scheduleSecureStoreUpdate(SecureStoreUpdater, long, long, TimeUnit)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#SECURE_STORE_UPDATE_LOCATION_ENABLED">SECURE_STORE_UPDATE_LOCATION_ENABLED</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Set this to false to disable the secure store updates done by default.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/SecureStore.html" title="interface in org.apache.twill.api"><span class="strong">SecureStore</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents storage of secure tokens.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security"><span class="strong">SecureStoreRenewer</span></a> - Class in <a href="./org/apache/twill/api/security/package-summary.html">org.apache.twill.api.security</a></dt> |
| <dd> |
| <div class="block">This class is responsible for renewing the secure store used by application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/security/SecureStoreRenewer.html#SecureStoreRenewer()">SecureStoreRenewer()</a></span> - Constructor for class org.apache.twill.api.security.<a href="./org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security">SecureStoreRenewer</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/SecureStoreUpdater.html" title="interface in org.apache.twill.api"><span class="strong">SecureStoreUpdater</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span> |
| <div class="block"><i>This class doesn't handle user correctly, use <a href="./org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security"><code>SecureStoreRenewer</code></a> instead</i></div> |
| </div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/security/SecureStoreWriter.html" title="interface in org.apache.twill.api.security"><span class="strong">SecureStoreWriter</span></a> - Interface in <a href="./org/apache/twill/api/security/package-summary.html">org.apache.twill.api.security</a></dt> |
| <dd> |
| <div class="block">A writer provided to <a href="./org/apache/twill/api/security/SecureStoreRenewer.html" title="class in org.apache.twill.api.security"><code>SecureStoreRenewer</code></a> for writing out <a href="./org/apache/twill/api/SecureStore.html" title="interface in org.apache.twill.api"><code>SecureStore</code></a> during renewal process.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaPublisher.Preparer.html#send()">send()</a></span> - Method in interface org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaPublisher.Preparer.html" title="interface in org.apache.twill.kafka.client">KafkaPublisher.Preparer</a></dt> |
| <dd> |
| <div class="block">Sends all the messages being added through the <a href="./org/apache/twill/kafka/client/KafkaPublisher.Preparer.html#add(java.nio.ByteBuffer,%20java.lang.Object)"><code>KafkaPublisher.Preparer.add(java.nio.ByteBuffer, java.lang.Object)</code></a> method.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#sendCommand(org.apache.twill.api.Command)">sendCommand(Command)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Sends a user command to the running application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#sendCommand(java.lang.String,%20org.apache.twill.api.Command)">sendCommand(String, Command)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Sends a user command to the given runnable of the running application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ServiceAnnouncer.html" title="interface in org.apache.twill.api"><span class="strong">ServiceAnnouncer</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This interface provides a way to announce the availability of a service.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api"><span class="strong">ServiceController</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This interface is for controlling a remote running service.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/ServiceController.TerminationStatus.html" title="enum in org.apache.twill.api"><span class="strong">ServiceController.TerminationStatus</span></a> - Enum in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Enum to represent termination status of the application when it completed.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/discovery/ServiceDiscovered.html" title="interface in org.apache.twill.discovery"><span class="strong">ServiceDiscovered</span></a> - Interface in <a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></dt> |
| <dd> |
| <div class="block">Represents the result of service discovery.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/discovery/ServiceDiscovered.ChangeListener.html" title="interface in org.apache.twill.discovery"><span class="strong">ServiceDiscovered.ChangeListener</span></a> - Interface in <a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></dt> |
| <dd> |
| <div class="block">Represents a callback for watching changes in the discovery list.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#setACL(java.lang.String,%20java.lang.Iterable)">setACL(String, Iterable<ACL>)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#setACL(java.lang.String,%20java.lang.Iterable,%20int)">setACL(String, Iterable<ACL>, int)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable)">setACL(String, Iterable<ACL>)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Sets the ACL of the given path if the path exists.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#setACL(java.lang.String,%20java.lang.Iterable,%20int)">setACL(String, Iterable<ACL>, int)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Sets the ACL of the given path if the path exists and version matched.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#setClassLoader(java.lang.String)">setClassLoader(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Sets the class name of the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang"><code>ClassLoader</code></a> to be used for loading twill and application classes for |
| all containers.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html#setConnectionWatcher(org.apache.zookeeper.Watcher)">setConnectionWatcher(Watcher)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</a></dt> |
| <dd> |
| <div class="block">Sets a <code>Watcher</code> that will be called whenever connection state change.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.CoreSetter.html#setCores(int)">setCores(int)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.CoreSetter.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.CoreSetter</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span></div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/AbstractZKClient.html#setData(java.lang.String,%20byte[])">setData(String, byte[])</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/AbstractZKClient.html" title="class in org.apache.twill.zookeeper">AbstractZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClient.html#setData(java.lang.String,%20byte[],%20int)">setData(String, byte[], int)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClient.html" title="class in org.apache.twill.zookeeper">ForwardingZKClient</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String,%20byte[])">setData(String, byte[])</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Sets the data for the given path without matching version.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClient.html#setData(java.lang.String,%20byte[],%20int)">setData(String, byte[], int)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper">ZKClient</a></dt> |
| <dd> |
| <div class="block">Sets the data for the given path that match the given version.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterUplink.html#setDownlink(int,%20org.apache.twill.api.ResourceSpecification.SizeUnit)">setDownlink(int, ResourceSpecification.SizeUnit)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterUplink.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.AfterUplink</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#setGroup(java.lang.String)">setGroup(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Sets the group of the location.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterMemory.html#setInstances(int)">setInstances(int)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterMemory.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.AfterMemory</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html#setJarFileName(java.lang.String)">setJarFileName(String)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#setJVMOptions(java.lang.String)">setJVMOptions(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">This methods sets the extra JVM options that will be passed to the java command line for every runnable |
| of the application started through this <a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api"><code>TwillPreparer</code></a> instance.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#setJVMOptions(java.lang.String)">setJVMOptions(String)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> |
| <div class="block">This methods sets the extra JVM options that will be passed to the java command line for every application |
| started through this <a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn"><code>YarnTwillRunnerService</code></a> instance.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html#setLibFolder(java.lang.String)">setLibFolder(String)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#setLogLevel(org.apache.twill.api.logging.LogEntry.Level)">setLogLevel(LogEntry.Level)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span> |
| <div class="block"><i>Use <a href="./org/apache/twill/api/TwillPreparer.html#setLogLevels(java.util.Map)"><code>TwillPreparer.setLogLevels(Map)</code></a> with key <code>Logger.ROOT_LOGGER_NAME</code> instead.</i></div> |
| </div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#setLogLevels(java.util.Map)">setLogLevels(Map<String, LogEntry.Level>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Set the log levels for requested logger names for Twill applications running in a container.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#setLogLevels(java.lang.String,%20java.util.Map)">setLogLevels(String, Map<String, LogEntry.Level>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Set the log levels for requested logger names for a <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#setMainArgs(java.lang.String[])">setMainArgs(String[])</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#setMainArgs(java.lang.String)">setMainArgs(String)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html#setMainArgs(java.lang.String[])">setMainArgs(String[])</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html#setMainClassName(java.lang.String)">setMainClassName(String)</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.Builder.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.MemorySetter.html#setMemory(int,%20org.apache.twill.api.ResourceSpecification.SizeUnit)">setMemory(int, ResourceSpecification.SizeUnit)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.MemorySetter.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.MemorySetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.NameSetter.html#setName(java.lang.String)">setName(String)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.NameSetter.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder.NameSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.NameSetter.html#setName(java.lang.String)">setName(String)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.NameSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.NameSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#setPermissions(java.lang.String)">setPermissions(String)</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Sets the permissions on this location.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#setSchedulerQueue(java.lang.String)">setSchedulerQueue(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Sets the name of the scheduler queue to use.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunner.html#setSecureStoreRenewer(org.apache.twill.api.security.SecureStoreRenewer,%20long,%20long,%20long,%20java.util.concurrent.TimeUnit)">setSecureStoreRenewer(SecureStoreRenewer, long, long, long, TimeUnit)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api">TwillRunner</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#setSecureStoreRenewer(org.apache.twill.api.security.SecureStoreRenewer,%20long,%20long,%20long,%20java.util.concurrent.TimeUnit)">setSecureStoreRenewer(SecureStoreRenewer, long, long, long, TimeUnit)</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html#setSessionTimeout(int)">setSessionTimeout(int)</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper">ZKClientService.Builder</a></dt> |
| <dd> |
| <div class="block">Sets the client timeout to the give milliseconds.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterInstances.html#setUplink(int,%20org.apache.twill.api.ResourceSpecification.SizeUnit)">setUplink(int, ResourceSpecification.SizeUnit)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.AfterInstances.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.AfterInstances</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#setUser(java.lang.String)">setUser(String)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span> |
| <div class="block"><i>This method will be removed in future version.</i></div> |
| </div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.CoreSetter.html#setVirtualCores(int)">setVirtualCores(int)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.CoreSetter.html" title="class in org.apache.twill.api">ResourceSpecification.Builder.CoreSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#start()">start()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Starts the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#start(long,%20java.util.concurrent.TimeUnit)">start(long, TimeUnit)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Starts the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnerService.html#start()">start()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnerService.html" title="interface in org.apache.twill.api">TwillRunnerService</a></dt> |
| <dd> |
| <div class="block">Starts the service.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#start()">start()</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#start()">start()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#startAndWait()">startAndWait()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#state()">state()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/AbstractTwillRunnable.html#stop()">stop()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/AbstractTwillRunnable.html" title="class in org.apache.twill.api">AbstractTwillRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnable.html#stop()">stop()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api">TwillRunnable</a></dt> |
| <dd> |
| <div class="block">Requests to stop the running service.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnerService.html#stop()">stop()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnerService.html" title="interface in org.apache.twill.api">TwillRunnerService</a></dt> |
| <dd> |
| <div class="block">Stops the service.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunnable.html#stop()">stop()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunnable.html" title="class in org.apache.twill.ext">BundledJarRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#stop()">stop()</a></span> - Method in class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#stop()">stop()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html#stopAndWait()">stopAndWait()</a></span> - Method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ForwardingZKClientService.html" title="class in org.apache.twill.zookeeper">ForwardingZKClientService</a></dt> |
| <dd> </dd> |
| </dl> |
| <a name="_T_"> |
| <!-- --> |
| </a> |
| <h2 class="title">T</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#TEMP_FILE_SUFFIX">TEMP_FILE_SUFFIX</a></span> - Static variable in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> |
| <div class="block">Suffix added to every temp file name generated with <a href="./org/apache/twill/filesystem/Location.html#getTempFile(java.lang.String)"><code>Location.getTempFile(String)</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.html#terminate()">terminate()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.html" title="interface in org.apache.twill.api">ServiceController</a></dt> |
| <dd> |
| <div class="block">Requests to terminate the running service.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/common/Threads.html" title="class in org.apache.twill.common"><span class="strong">Threads</span></a> - Class in <a href="./org/apache/twill/common/package-summary.html">org.apache.twill.common</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategies.html#timeLimit(long,%20java.util.concurrent.TimeUnit,%20org.apache.twill.zookeeper.RetryStrategy)">timeLimit(long, TimeUnit, RetryStrategy)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategies.html" title="class in org.apache.twill.zookeeper">RetryStrategies</a></dt> |
| <dd> |
| <div class="block">Creates a <a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a> that will retry until maximum amount of time has been passed since the request, |
| with the actual delay behavior delegated to another <a href="./org/apache/twill/zookeeper/RetryStrategy.html" title="interface in org.apache.twill.zookeeper"><code>RetryStrategy</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html#toArray()">toArray()</a></span> - Method in class org.apache.twill.ext.<a href="./org/apache/twill/ext/BundledJarRunner.Arguments.html" title="class in org.apache.twill.ext">BundledJarRunner.Arguments</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/kafka/client/TopicPartition.html" title="class in org.apache.twill.kafka.client"><span class="strong">TopicPartition</span></a> - Class in <a href="./org/apache/twill/kafka/client/package-summary.html">org.apache.twill.kafka.client</a></dt> |
| <dd> |
| <div class="block">Represents a combination of topic and partition.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/TopicPartition.html#TopicPartition(java.lang.String,%20int)">TopicPartition(String, int)</a></span> - Constructor for class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/TopicPartition.html" title="class in org.apache.twill.kafka.client">TopicPartition</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Hosts.html#toString()">toString()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/Hosts.html" title="class in org.apache.twill.api">Hosts</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Racks.html#toString()">toString()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/Racks.html" title="class in org.apache.twill.api">Racks</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/Discoverable.html#toString()">toString()</a></span> - Method in class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/Discoverable.html" title="class in org.apache.twill.discovery">Discoverable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/BrokerInfo.html#toString()">toString()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/BrokerInfo.html" title="class in org.apache.twill.kafka.client">BrokerInfo</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/TopicPartition.html#toString()">toString()</a></span> - Method in class org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/TopicPartition.html" title="class in org.apache.twill.kafka.client">TopicPartition</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/filesystem/Location.html#toURI()">toURI()</a></span> - Method in interface org.apache.twill.filesystem.<a href="./org/apache/twill/filesystem/Location.html" title="interface in org.apache.twill.filesystem">Location</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><span class="strong">TwillApplication</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents a application that can be launched by Twill.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillContext.html" title="interface in org.apache.twill.api"><span class="strong">TwillContext</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents the runtime context of a <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api"><span class="strong">TwillController</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">For controlling a running application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/launcher/TwillLauncher.html" title="class in org.apache.twill.launcher"><span class="strong">TwillLauncher</span></a> - Class in <a href="./org/apache/twill/launcher/package-summary.html">org.apache.twill.launcher</a></dt> |
| <dd> |
| <div class="block">A launcher for application from a archive jar.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/launcher/TwillLauncher.html#TwillLauncher()">TwillLauncher()</a></span> - Constructor for class org.apache.twill.launcher.<a href="./org/apache/twill/launcher/TwillLauncher.html" title="class in org.apache.twill.launcher">TwillLauncher</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api"><span class="strong">TwillPreparer</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This interface exposes methods to set up the Twill runtime environment and start a Twill application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><span class="strong">TwillRunnable</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">The <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> interface should be implemented by any |
| class whose instances are intended to be executed in a Twill cluster.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunnableSpecification.html" title="interface in org.apache.twill.api"><span class="strong">TwillRunnableSpecification</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents a specification of a <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.html" title="class in org.apache.twill.api"><span class="strong">TwillRunnableSpecification.Builder</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Builder for constructing <a href="./org/apache/twill/api/TwillRunnableSpecification.html" title="interface in org.apache.twill.api"><code>TwillRunnableSpecification</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterConfigs.html" title="class in org.apache.twill.api"><span class="strong">TwillRunnableSpecification.Builder.AfterConfigs</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterConfigs.html#TwillRunnableSpecification.Builder.AfterConfigs()">TwillRunnableSpecification.Builder.AfterConfigs()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterConfigs.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder.AfterConfigs</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterName.html" title="class in org.apache.twill.api"><span class="strong">TwillRunnableSpecification.Builder.AfterName</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterName.html#TwillRunnableSpecification.Builder.AfterName()">TwillRunnableSpecification.Builder.AfterName()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterName.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder.AfterName</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.NameSetter.html" title="class in org.apache.twill.api"><span class="strong">TwillRunnableSpecification.Builder.NameSetter</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.NameSetter.html#TwillRunnableSpecification.Builder.NameSetter()">TwillRunnableSpecification.Builder.NameSetter()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.NameSetter.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder.NameSetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api"><span class="strong">TwillRunner</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">This interface prepares execution of <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> and <a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><code>TwillApplication</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunner.LiveInfo.html" title="interface in org.apache.twill.api"><span class="strong">TwillRunner.LiveInfo</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Interface to represents information of a live application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunnerService.html" title="interface in org.apache.twill.api"><span class="strong">TwillRunnerService</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">A <a href="./org/apache/twill/api/TwillRunner.html" title="interface in org.apache.twill.api"><code>TwillRunner</code></a> that provides lifecycle management functions.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillRunResources.html" title="interface in org.apache.twill.api"><span class="strong">TwillRunResources</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Information about the container the <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> |
| is running in.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Represents specification of a <a href="./org/apache/twill/api/TwillApplication.html" title="interface in org.apache.twill.api"><code>TwillApplication</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Builder for constructing instance of <a href="./org/apache/twill/api/TwillSpecification.html" title="interface in org.apache.twill.api"><code>TwillSpecification</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterName.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.AfterName</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterName.html#TwillSpecification.Builder.AfterName()">TwillSpecification.Builder.AfterName()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterName.html" title="class in org.apache.twill.api">TwillSpecification.Builder.AfterName</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterOrder.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.AfterOrder</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterPlacementPolicy.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.AfterPlacementPolicy</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Interface to define execution order after adding placement policies.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterRunnable.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.AfterRunnable</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.FirstOrder.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.FirstOrder</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.LocalFileAdder.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.LocalFileAdder</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.MoreFile</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html#TwillSpecification.Builder.MoreFile(org.apache.twill.api.TwillSpecification.Builder.LocalFileCompleter)">TwillSpecification.Builder.MoreFile(TwillSpecification.Builder.LocalFileCompleter)</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.MoreFile.html" title="class in org.apache.twill.api">TwillSpecification.Builder.MoreFile</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.MorePlacementPolicies.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.MorePlacementPolicies</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Interface to add placement policies to the application.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.MoreRunnable.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.MoreRunnable</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.NameSetter.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.NameSetter</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.NameSetter.html#TwillSpecification.Builder.NameSetter()">TwillSpecification.Builder.NameSetter()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.NameSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.NameSetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.NextOrder.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.NextOrder</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.OrderSetter</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html#TwillSpecification.Builder.OrderSetter()">TwillSpecification.Builder.OrderSetter()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.OrderSetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.PlacementPolicySetter</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html#TwillSpecification.Builder.PlacementPolicySetter()">TwillSpecification.Builder.PlacementPolicySetter()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.PlacementPolicySetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.RunnableSetter</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#TwillSpecification.Builder.RunnableSetter()">TwillSpecification.Builder.RunnableSetter()</a></span> - Constructor for class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Builder.RuntimeSpecificationAdder.html" title="class in org.apache.twill.api"><span class="strong">TwillSpecification.Builder.RuntimeSpecificationAdder</span></a> - Class in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">For setting runtime specific settings.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Order.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.Order</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Defines execution order.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.Order.Type.html" title="enum in org.apache.twill.api"><span class="strong">TwillSpecification.Order.Type</span></a> - Enum in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.html" title="interface in org.apache.twill.api"><span class="strong">TwillSpecification.PlacementPolicy</span></a> - Interface in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Defines a container placement policy.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.Type.html" title="enum in org.apache.twill.api"><span class="strong">TwillSpecification.PlacementPolicy.Type</span></a> - Enum in <a href="./org/apache/twill/api/package-summary.html">org.apache.twill.api</a></dt> |
| <dd> |
| <div class="block">Lists different types of Placement Policies available.</div> |
| </dd> |
| </dl> |
| <a name="_U_"> |
| <!-- --> |
| </a> |
| <h2 class="title">U</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/SecureStoreUpdater.html#update(java.lang.String,%20org.apache.twill.api.RunId)">update(String, RunId)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/SecureStoreUpdater.html" title="interface in org.apache.twill.api">SecureStoreUpdater</a></dt> |
| <dd> |
| <div class="block"><span class="strong">Deprecated.</span></div> |
| <div class="block">Invoked when an update to SecureStore is needed.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKOperations.Callback.html#updated(T)">updated(T)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.Callback.html" title="interface in org.apache.twill.zookeeper">ZKOperations.Callback</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKOperations.ChildrenCallback.html#updated(org.apache.twill.zookeeper.NodeChildren)">updated(NodeChildren)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.ChildrenCallback.html" title="interface in org.apache.twill.zookeeper">ZKOperations.ChildrenCallback</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKOperations.DataCallback.html#updated(org.apache.twill.zookeeper.NodeData)">updated(NodeData)</a></span> - Method in interface org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.DataCallback.html" title="interface in org.apache.twill.zookeeper">ZKOperations.DataCallback</a></dt> |
| <dd> |
| <div class="block">Invoked when data of the node changed.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#updateLogLevels(java.util.Map)">updateLogLevels(Map<String, LogEntry.Level>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Update the log levels for requested logger names for Twill applications running in a container.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillController.html#updateLogLevels(java.lang.String,%20java.util.Map)">updateLogLevels(String, Map<String, LogEntry.Level>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillController.html" title="interface in org.apache.twill.api">TwillController</a></dt> |
| <dd> |
| <div class="block">Update the log levels for requested logger names for a <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a>.</div> |
| </dd> |
| </dl> |
| <a name="_V_"> |
| <!-- --> |
| </a> |
| <h2 class="title">V</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.Level.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.Level.html" title="enum in org.apache.twill.api.logging">LogEntry.Level</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.SizeUnit.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.SizeUnit.html" title="enum in org.apache.twill.api">ResourceSpecification.SizeUnit</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.TerminationStatus.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.TerminationStatus.html" title="enum in org.apache.twill.api">ServiceController.TerminationStatus</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Order.Type.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Order.Type.html" title="enum in org.apache.twill.api">TwillSpecification.Order.Type</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.Type.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.Type.html" title="enum in org.apache.twill.api">TwillSpecification.PlacementPolicy.Type</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/Compression.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/Compression.html" title="enum in org.apache.twill.kafka.client">Compression</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaPublisher.Ack.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaPublisher.Ack.html" title="enum in org.apache.twill.kafka.client">KafkaPublisher.Ack</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategy.OperationType.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a></dt> |
| <dd> |
| <div class="block">Returns the enum constant of this type with the specified name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/logging/LogEntry.Level.html#values()">values()</a></span> - Static method in enum org.apache.twill.api.logging.<a href="./org/apache/twill/api/logging/LogEntry.Level.html" title="enum in org.apache.twill.api.logging">LogEntry.Level</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.SizeUnit.html#values()">values()</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.SizeUnit.html" title="enum in org.apache.twill.api">ResourceSpecification.SizeUnit</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ServiceController.TerminationStatus.html#values()">values()</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/ServiceController.TerminationStatus.html" title="enum in org.apache.twill.api">ServiceController.TerminationStatus</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Order.Type.html#values()">values()</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Order.Type.html" title="enum in org.apache.twill.api">TwillSpecification.Order.Type</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.Type.html#values()">values()</a></span> - Static method in enum org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.PlacementPolicy.Type.html" title="enum in org.apache.twill.api">TwillSpecification.PlacementPolicy.Type</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/Compression.html#values()">values()</a></span> - Static method in enum org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/Compression.html" title="enum in org.apache.twill.kafka.client">Compression</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/kafka/client/KafkaPublisher.Ack.html#values()">values()</a></span> - Static method in enum org.apache.twill.kafka.client.<a href="./org/apache/twill/kafka/client/KafkaPublisher.Ack.html" title="enum in org.apache.twill.kafka.client">KafkaPublisher.Ack</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/RetryStrategy.OperationType.html#values()">values()</a></span> - Static method in enum org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/RetryStrategy.OperationType.html" title="enum in org.apache.twill.zookeeper">RetryStrategy.OperationType</a></dt> |
| <dd> |
| <div class="block">Returns an array containing the constants of this enum type, in |
| the order they are declared.</div> |
| </dd> |
| </dl> |
| <a name="_W_"> |
| <!-- --> |
| </a> |
| <h2 class="title">W</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ServiceDiscovered.html#watchChanges(org.apache.twill.discovery.ServiceDiscovered.ChangeListener,%20java.util.concurrent.Executor)">watchChanges(ServiceDiscovered.ChangeListener, Executor)</a></span> - Method in interface org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ServiceDiscovered.html" title="interface in org.apache.twill.discovery">ServiceDiscovered</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><span class="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(ZKClient, String, ZKOperations.ChildrenCallback)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper">ZKOperations</a></dt> |
| <dd> </dd> |
| <dt><span class="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(ZKClient, String, ZKOperations.DataCallback)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper">ZKOperations</a></dt> |
| <dd> |
| <div class="block">Watch for data changes of the given path.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKOperations.html#watchDeleted(org.apache.twill.zookeeper.ZKClient,%20java.lang.String)">watchDeleted(ZKClient, String)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper">ZKOperations</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/zookeeper/ZKOperations.html#watchDeleted(org.apache.twill.zookeeper.ZKClient,%20java.lang.String,%20com.google.common.util.concurrent.SettableFuture)">watchDeleted(ZKClient, String, SettableFuture<String>)</a></span> - Static method in class org.apache.twill.zookeeper.<a href="./org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper">ZKOperations</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/ResourceSpecification.Builder.html#with()">with()</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/ResourceSpecification.Builder.html" title="class in org.apache.twill.api">ResourceSpecification.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.html#with()">with()</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.html#with()">with()</a></span> - Static method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.html" title="class in org.apache.twill.api">TwillSpecification.Builder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withApplicationArguments(java.lang.String...)">withApplicationArguments(String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Sets the list of arguments that will be passed to the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withApplicationArguments(java.lang.Iterable)">withApplicationArguments(Iterable<String>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Sets the list of arguments that will be passed to the application.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withApplicationClassPaths(java.lang.String...)">withApplicationClassPaths(String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds the set of paths to the classpath on the target machine for ApplicationMaster and all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withApplicationClassPaths(java.lang.Iterable)">withApplicationClassPaths(Iterable<String>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds the set of paths to the classpath on the target machine for ApplicationMaster and all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withArguments(java.lang.String,%20java.lang.String...)">withArguments(String, String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Sets the list of arguments that will be passed to the <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> identified by the given name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withArguments(java.lang.String,%20java.lang.Iterable)">withArguments(String, Iterable<String>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Sets the list of arguments that will be passed to the <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>TwillRunnable</code></a> identified by the given name.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withBundlerClassAcceptor(org.apache.twill.api.ClassAcceptor)">withBundlerClassAcceptor(ClassAcceptor)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Uses <a href="./org/apache/twill/api/ClassAcceptor.html" title="class in org.apache.twill.api"><code>ClassAcceptor</code></a> to determine the classes to include in the bundle jar for |
| ApplicationMaster and all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withClassPaths(java.lang.String...)">withClassPaths(String...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds the set of paths to the classpath on the target machine for all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withClassPaths(java.lang.Iterable)">withClassPaths(Iterable<String>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds the set of paths to the classpath on the target machine for all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterName.html#withConfigs(java.util.Map)">withConfigs(Map<String, String>)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillRunnableSpecification.Builder.AfterName.html" title="class in org.apache.twill.api">TwillRunnableSpecification.Builder.AfterName</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withConfiguration(java.util.Map)">withConfiguration(Map<String, String>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Overrides the default configuration with the given set of configurations.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withDependencies(java.lang.Class...)">withDependencies(Class<?>...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds extra classes that the application is dependent on and is not traceable from the application itself.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withDependencies(java.lang.Iterable)">withDependencies(Iterable<Class<?>>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds extra classes that the application is dependent on and is not traceable from the application itself.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withEnv(java.util.Map)">withEnv(Map<String, String>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds the set of environment variables that will be set as container environment variables for all runnables.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withEnv(java.lang.String,%20java.util.Map)">withEnv(String, Map<String, String>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds the set of environment variables that will be set as container environment variables for the given runnable.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterOrder.html#withEventHandler(org.apache.twill.api.EventHandler)">withEventHandler(EventHandler)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterOrder.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.AfterOrder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html#withEventHandler(org.apache.twill.api.EventHandler)">withEventHandler(EventHandler)</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.OrderSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.OrderSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RuntimeSpecificationAdder.html#withLocalFiles()">withLocalFiles()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RuntimeSpecificationAdder.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RuntimeSpecificationAdder</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withMaxRetries(java.lang.String,%20int)">withMaxRetries(String, int)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Sets the maximum number of times (per instance) a runnable will be retried if it exits without success.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterPlacementPolicy.html#withOrder()">withOrder()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterPlacementPolicy.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.AfterPlacementPolicy</a></dt> |
| <dd> |
| <div class="block">Start defining execution order.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterRunnable.html#withOrder()">withOrder()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterRunnable.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.AfterRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html#withOrder()">withOrder()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.PlacementPolicySetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.PlacementPolicySetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#withOrder()">withOrder()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterRunnable.html#withPlacementPolicy()">withPlacementPolicy()</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterRunnable.html" title="interface in org.apache.twill.api">TwillSpecification.Builder.AfterRunnable</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html#withPlacementPolicy()">withPlacementPolicy()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.RunnableSetter.html" title="class in org.apache.twill.api">TwillSpecification.Builder.RunnableSetter</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withResources(java.net.URI...)">withResources(URI...)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds resources that will be available through the ClassLoader of the <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>runnables</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillPreparer.html#withResources(java.lang.Iterable)">withResources(Iterable<URI>)</a></span> - Method in interface org.apache.twill.api.<a href="./org/apache/twill/api/TwillPreparer.html" title="interface in org.apache.twill.api">TwillPreparer</a></dt> |
| <dd> |
| <div class="block">Adds resources that will be available through the ClassLoader of the <a href="./org/apache/twill/api/TwillRunnable.html" title="interface in org.apache.twill.api"><code>runnables</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/TwillSpecification.Builder.AfterName.html#withRunnable()">withRunnable()</a></span> - Method in class org.apache.twill.api.<a href="./org/apache/twill/api/TwillSpecification.Builder.AfterName.html" title="class in org.apache.twill.api">TwillSpecification.Builder.AfterName</a></dt> |
| <dd> </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/security/SecureStoreWriter.html#write(org.apache.twill.api.SecureStore)">write(SecureStore)</a></span> - Method in interface org.apache.twill.api.security.<a href="./org/apache/twill/api/security/SecureStoreWriter.html" title="interface in org.apache.twill.api.security">SecureStoreWriter</a></dt> |
| <dd> |
| <div class="block">Writes the given <a href="./org/apache/twill/api/SecureStore.html" title="interface in org.apache.twill.api"><code>SecureStore</code></a>.</div> |
| </dd> |
| </dl> |
| <a name="_Y_"> |
| <!-- --> |
| </a> |
| <h2 class="title">Y</h2> |
| <dl> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#YARN_AM_MEMORY_MB">YARN_AM_MEMORY_MB</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default AM container memory size.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#YARN_AM_MEMORY_MB">YARN_AM_MEMORY_MB</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Size in MB for the memory size of the YARN application master container.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Defaults.html#YARN_AM_RESERVED_MEMORY_MB">YARN_AM_RESERVED_MEMORY_MB</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Defaults.html" title="class in org.apache.twill.api">Configs.Defaults</a></dt> |
| <dd> |
| <div class="block">Default AM JVM reserved memory.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/api/Configs.Keys.html#YARN_AM_RESERVED_MEMORY_MB">YARN_AM_RESERVED_MEMORY_MB</a></span> - Static variable in class org.apache.twill.api.<a href="./org/apache/twill/api/Configs.Keys.html" title="class in org.apache.twill.api">Configs.Keys</a></dt> |
| <dd> |
| <div class="block">Size in MB for the reserved non-heap memory size for the YARN application Java process.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/yarn/YarnSecureStore.html" title="class in org.apache.twill.yarn"><span class="strong">YarnSecureStore</span></a> - Class in <a href="./org/apache/twill/yarn/package-summary.html">org.apache.twill.yarn</a></dt> |
| <dd> |
| <div class="block">A <a href="./org/apache/twill/api/SecureStore.html" title="interface in org.apache.twill.api"><code>SecureStore</code></a> for hadoop credentials.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn"><span class="strong">YarnTwillRunnerService</span></a> - Class in <a href="./org/apache/twill/yarn/package-summary.html">org.apache.twill.yarn</a></dt> |
| <dd> |
| <div class="block">An implementation of <a href="./org/apache/twill/api/TwillRunnerService.html" title="interface in org.apache.twill.api"><code>TwillRunnerService</code></a> that runs application on a YARN cluster.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#YarnTwillRunnerService(org.apache.hadoop.yarn.conf.YarnConfiguration,%20java.lang.String)">YarnTwillRunnerService(YarnConfiguration, String)</a></span> - Constructor for class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> |
| <div class="block">Creates an instance with a <a href="./org/apache/twill/filesystem/FileContextLocationFactory.html" title="class in org.apache.twill.filesystem"><code>FileContextLocationFactory</code></a> created base on the given configuration with the |
| user home directory as the location factory namespace.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/yarn/YarnTwillRunnerService.html#YarnTwillRunnerService(org.apache.hadoop.yarn.conf.YarnConfiguration,%20java.lang.String,%20org.apache.twill.filesystem.LocationFactory)">YarnTwillRunnerService(YarnConfiguration, String, LocationFactory)</a></span> - Constructor for class org.apache.twill.yarn.<a href="./org/apache/twill/yarn/YarnTwillRunnerService.html" title="class in org.apache.twill.yarn">YarnTwillRunnerService</a></dt> |
| <dd> |
| <div class="block">Creates an instance.</div> |
| </dd> |
| </dl> |
| <a name="_Z_"> |
| <!-- --> |
| </a> |
| <h2 class="title">Z</h2> |
| <dl> |
| <dt><a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><span class="strong">ZKClient</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">A ZooKeeper client that provides asynchronous zookeeper operations.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKClients.html" title="class in org.apache.twill.zookeeper"><span class="strong">ZKClients</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Utility class to create <a href="./org/apache/twill/zookeeper/ZKClient.html" title="interface in org.apache.twill.zookeeper"><code>ZKClient</code></a> instances.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><span class="strong">ZKClientService</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <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> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKClientService.Builder.html" title="class in org.apache.twill.zookeeper"><span class="strong">ZKClientService.Builder</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Builder for creating an implementation of <a href="./org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a>.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKClientServices.html" title="class in org.apache.twill.zookeeper"><span class="strong">ZKClientServices</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Provides static factory method to create <a href="./org/apache/twill/zookeeper/ZKClientService.html" title="interface in org.apache.twill.zookeeper"><code>ZKClientService</code></a> with modified behaviors.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/discovery/ZKDiscoveryService.html" title="class in org.apache.twill.discovery"><span class="strong">ZKDiscoveryService</span></a> - Class in <a href="./org/apache/twill/discovery/package-summary.html">org.apache.twill.discovery</a></dt> |
| <dd> |
| <div class="block">Zookeeper implementation of <a href="./org/apache/twill/discovery/DiscoveryService.html" title="interface in org.apache.twill.discovery"><code>DiscoveryService</code></a> and <a href="./org/apache/twill/discovery/DiscoveryServiceClient.html" title="interface in org.apache.twill.discovery"><code>DiscoveryServiceClient</code></a>.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ZKDiscoveryService.html#ZKDiscoveryService(org.apache.twill.zookeeper.ZKClient)">ZKDiscoveryService(ZKClient)</a></span> - Constructor for class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ZKDiscoveryService.html" title="class in org.apache.twill.discovery">ZKDiscoveryService</a></dt> |
| <dd> |
| <div class="block">Constructs ZKDiscoveryService using the provided zookeeper client for storing service registry.</div> |
| </dd> |
| <dt><span class="strong"><a href="./org/apache/twill/discovery/ZKDiscoveryService.html#ZKDiscoveryService(org.apache.twill.zookeeper.ZKClient,%20java.lang.String)">ZKDiscoveryService(ZKClient, String)</a></span> - Constructor for class org.apache.twill.discovery.<a href="./org/apache/twill/discovery/ZKDiscoveryService.html" title="class in org.apache.twill.discovery">ZKDiscoveryService</a></dt> |
| <dd> |
| <div class="block">Constructs ZKDiscoveryService using the provided zookeeper client for storing service registry under namespace.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKOperations.html" title="class in org.apache.twill.zookeeper"><span class="strong">ZKOperations</span></a> - Class in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Collection of helper methods for common operations that usually needed when interacting with ZooKeeper.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKOperations.Callback.html" title="interface in org.apache.twill.zookeeper"><span class="strong">ZKOperations.Callback</span></a><<a href="./org/apache/twill/zookeeper/ZKOperations.Callback.html" title="type parameter in ZKOperations.Callback">T</a>> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Represents a ZK operation updates callback.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKOperations.ChildrenCallback.html" title="interface in org.apache.twill.zookeeper"><span class="strong">ZKOperations.ChildrenCallback</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Interface for defining callback method to receive children nodes updates.</div> |
| </dd> |
| <dt><a href="./org/apache/twill/zookeeper/ZKOperations.DataCallback.html" title="interface in org.apache.twill.zookeeper"><span class="strong">ZKOperations.DataCallback</span></a> - Interface in <a href="./org/apache/twill/zookeeper/package-summary.html">org.apache.twill.zookeeper</a></dt> |
| <dd> |
| <div class="block">Interface for defining callback method to receive node data updates.</div> |
| </dd> |
| </dl> |
| <a href="#_A_">A</a> <a href="#_B_">B</a> <a href="#_C_">C</a> <a href="#_D_">D</a> <a href="#_E_">E</a> <a href="#_F_">F</a> <a href="#_G_">G</a> <a href="#_H_">H</a> <a href="#_I_">I</a> <a href="#_J_">J</a> <a href="#_K_">K</a> <a href="#_L_">L</a> <a href="#_M_">M</a> <a href="#_N_">N</a> <a href="#_O_">O</a> <a href="#_P_">P</a> <a href="#_R_">R</a> <a href="#_S_">S</a> <a href="#_T_">T</a> <a href="#_U_">U</a> <a href="#_V_">V</a> <a href="#_W_">W</a> <a href="#_Y_">Y</a> <a href="#_Z_">Z</a> </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>Package</li> |
| <li>Class</li> |
| <li>Use</li> |
| <li><a href="./overview-tree.html">Tree</a></li> |
| <li><a href="./deprecated-list.html">Deprecated</a></li> |
| <li class="navBarCell1Rev">Index</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?index-all.html" target="_top">Frames</a></li> |
| <li><a href="index-all.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 © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |