You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ka...@apache.org on 2016/06/01 03:28:29 UTC

svn commit: r1746370 [19/26] - in /storm/site/releases/2.0.0-SNAPSHOT: ./ images/ javadocs/ javadocs/org/apache/storm/ javadocs/org/apache/storm/class-use/ javadocs/org/apache/storm/cluster/ javadocs/org/apache/storm/cluster/class-use/ javadocs/org/apa...

Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulBoltExecutor.html
URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulBoltExecutor.html?rev=1746370&r1=1746369&r2=1746370&view=diff
==============================================================================
--- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulBoltExecutor.html (original)
+++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulBoltExecutor.html Wed Jun  1 03:28:26 2016
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -74,7 +74,7 @@ var activeTableTab = "activeTableTab";
 <div>
 <ul class="subNavList">
 <li>Summary:&nbsp;</li>
-<li><a href="#nested.classes.inherited.from.class.org.apache.storm.topology.CheckpointTupleForwarder">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#nested.classes.inherited.from.class.org.apache.storm.topology.BaseStatefulBoltExecutor">Nested</a>&nbsp;|&nbsp;</li>
 <li>Field&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>
@@ -100,7 +100,7 @@ var activeTableTab = "activeTableTab";
 <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
 <li>
 <ul class="inheritance">
-<li><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html" title="class in org.apache.storm.topology">org.apache.storm.topology.CheckpointTupleForwarder</a></li>
+<li><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html" title="class in org.apache.storm.topology">org.apache.storm.topology.BaseStatefulBoltExecutor</a></li>
 <li>
 <ul class="inheritance">
 <li>org.apache.storm.topology.StatefulBoltExecutor&lt;T&gt;</li>
@@ -119,7 +119,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>public class <span class="typeNameLabel">StatefulBoltExecutor&lt;T extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;</span>
-extends <a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html" title="class in org.apache.storm.topology">CheckpointTupleForwarder</a></pre>
+extends <a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html" title="class in org.apache.storm.topology">BaseStatefulBoltExecutor</a></pre>
 <div class="block"><p>Wraps a <a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology"><code>IStatefulBolt</code></a> and manages the state of the bolt.</p></div>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
@@ -138,11 +138,11 @@ extends <a href="../../../../org/apache/
 </a>
 <h3>Nested Class Summary</h3>
 <ul class="blockList">
-<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.storm.topology.CheckpointTupleForwarder">
+<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.storm.topology.BaseStatefulBoltExecutor">
 <!--   -->
 </a>
-<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.storm.topology.<a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html" title="class in org.apache.storm.topology">CheckpointTupleForwarder</a></h3>
-<code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.AnchoringOutputCollector.html" title="class in org.apache.storm.topology">CheckpointTupleForwarder.AnchoringOutputCollector</a></code></li>
+<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.storm.topology.<a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html" title="class in org.apache.storm.topology">BaseStatefulBoltExecutor</a></h3>
+<code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.AnchoringOutputCollector.html" title="class in org.apache.storm.topology">BaseStatefulBoltExecutor.AnchoringOutputCollector</a></code></li>
 </ul>
 </li>
 </ul>
@@ -176,20 +176,38 @@ extends <a href="../../../../org/apache/
 <th class="colLast" scope="col">Method and Description</th>
 </tr>
 <tr id="i0" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/StatefulBoltExecutor.html#cleanup--">cleanup</a></span>()</code>
+<div class="block">Called when an IBolt is going to be shutdown.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/StatefulBoltExecutor.html#declareOutputFields-org.apache.storm.topology.OutputFieldsDeclarer-">declareOutputFields</a></span>(<a href="../../../../org/apache/storm/topology/OutputFieldsDeclarer.html" title="interface in org.apache.storm.topology">OutputFieldsDeclarer</a>&nbsp;declarer)</code>
+<div class="block">Declare the output schema for all the streams of this topology.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/StatefulBoltExecutor.html#getComponentConfiguration--">getComponentConfiguration</a></span>()</code>
+<div class="block">Declare configuration specific to this component.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/StatefulBoltExecutor.html#handleCheckpoint-org.apache.storm.tuple.Tuple-org.apache.storm.spout.CheckPointState.Action-long-">handleCheckpoint</a></span>(<a href="../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;checkpointTuple,
                 <a href="../../../../org/apache/storm/spout/CheckPointState.Action.html" title="enum in org.apache.storm.spout">CheckPointState.Action</a>&nbsp;action,
                 long&nbsp;txid)</code>
-<div class="block">Forwards the checkpoint tuple downstream.</div>
+<div class="block">Sub-classes can implement the logic for handling checkpoint tuple.</div>
 </td>
 </tr>
-<tr id="i1" class="rowColor">
+<tr id="i4" class="altColor">
 <td class="colFirst"><code>protected void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/StatefulBoltExecutor.html#handleTuple-org.apache.storm.tuple.Tuple-">handleTuple</a></span>(<a href="../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;input)</code>
-<div class="block">Hands off tuple to the wrapped bolt to execute.</div>
+<div class="block">Sub-classes can implement the logic for handling the tuple.</div>
 </td>
 </tr>
-<tr id="i2" class="altColor">
+<tr id="i5" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/StatefulBoltExecutor.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&nbsp;stormConf,
        <a href="../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a>&nbsp;context,
@@ -199,11 +217,11 @@ extends <a href="../../../../org/apache/
 </tr>
 </table>
 <ul class="blockList">
-<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.CheckpointTupleForwarder">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.BaseStatefulBoltExecutor">
 <!--   -->
 </a>
-<h3>Methods inherited from class&nbsp;org.apache.storm.topology.<a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html" title="class in org.apache.storm.topology">CheckpointTupleForwarder</a></h3>
-<code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#cleanup--">cleanup</a>, <a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#declareOutputFields-org.apache.storm.topology.OutputFieldsDeclarer-">declareOutputFields</a>, <a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#execute-org.apache.storm.tuple.Tuple-">execute</a>, <a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#getComponentConfiguration--">getComponentConfiguration</a>, <a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#init-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">init</a></code></li>
+<h3>Methods inherited from class&nbsp;org.apache.storm.topology.<a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html" title="class in org.apache.storm.topology">BaseStatefulBoltExecutor</a></h3>
+<code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html#declareCheckpointStream-org.apache.storm.topology.OutputFieldsDeclarer-">declareCheckpointStream</a>, <a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html#execute-org.apache.storm.tuple.Tuple-">execute</a>, <a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html#init-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">init</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@@ -255,10 +273,6 @@ extends <a href="../../../../org/apache/
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">IBolt</a></code></span></div>
 <div class="block"><p>Called when a task for this component is initialized within a worker on the cluster. It provides the bolt with the environment in which the bolt executes.</p><p>This includes the:</p></div>
 <dl>
-<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
-<dd><code><a href="../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a></code></dd>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html" title="class in org.apache.storm.topology">CheckpointTupleForwarder</a></code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>stormConf</code> - The Storm configuration for this bolt. This is the configuration provided to the topology merged in with cluster configuration on this machine.</dd>
 <dd><code>context</code> - This object can be used to get information about this task&rsquo;s place within the topology, including the task id and component id of this task, input and output information, etc.</dd>
@@ -266,6 +280,43 @@ extends <a href="../../../../org/apache/
 </dl>
 </li>
 </ul>
+<a name="cleanup--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>cleanup</h4>
+<pre>public&nbsp;void&nbsp;cleanup()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/storm/task/IBolt.html#cleanup--">IBolt</a></code></span></div>
+<div class="block"><p>Called when an IBolt is going to be shutdown. There is no guarentee that cleanup will be called, because the supervisor kill -9&rsquo;s worker processes on the cluster.</p><p>The one context where cleanup is guaranteed to be called is when a topology is killed when running Storm in local mode.</p></div>
+</li>
+</ul>
+<a name="declareOutputFields-org.apache.storm.topology.OutputFieldsDeclarer-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>declareOutputFields</h4>
+<pre>public&nbsp;void&nbsp;declareOutputFields(<a href="../../../../org/apache/storm/topology/OutputFieldsDeclarer.html" title="interface in org.apache.storm.topology">OutputFieldsDeclarer</a>&nbsp;declarer)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/storm/topology/IComponent.html#declareOutputFields-org.apache.storm.topology.OutputFieldsDeclarer-">IComponent</a></code></span></div>
+<div class="block"><p>Declare the output schema for all the streams of this topology.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>declarer</code> - this is used to declare output stream ids, output fields, and whether or not each output stream is a direct stream</dd>
+</dl>
+</li>
+</ul>
+<a name="getComponentConfiguration--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getComponentConfiguration</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;getComponentConfiguration()</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/storm/topology/IComponent.html#getComponentConfiguration--">IComponent</a></code></span></div>
+<div class="block"><p>Declare configuration specific to this component. Only a subset of the &ldquo;topology.*&rdquo; configs can be overridden. The component configuration can be further overridden when constructing the topology using <a href="../../../../org/apache/storm/topology/TopologyBuilder.html" title="class in org.apache.storm.topology"><code>TopologyBuilder</code></a></p></div>
+</li>
+</ul>
 <a name="handleCheckpoint-org.apache.storm.tuple.Tuple-org.apache.storm.spout.CheckPointState.Action-long-">
 <!--   -->
 </a>
@@ -275,11 +326,11 @@ extends <a href="../../../../org/apache/
 <pre>protected&nbsp;void&nbsp;handleCheckpoint(<a href="../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;checkpointTuple,
                                 <a href="../../../../org/apache/storm/spout/CheckPointState.Action.html" title="enum in org.apache.storm.spout">CheckPointState.Action</a>&nbsp;action,
                                 long&nbsp;txid)</pre>
-<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#handleCheckpoint-org.apache.storm.tuple.Tuple-org.apache.storm.spout.CheckPointState.Action-long-">CheckpointTupleForwarder</a></code></span></div>
-<div class="block"><p>Forwards the checkpoint tuple downstream. Sub-classes can override with the logic for handling checkpoint tuple.</p></div>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html#handleCheckpoint-org.apache.storm.tuple.Tuple-org.apache.storm.spout.CheckPointState.Action-long-">BaseStatefulBoltExecutor</a></code></span></div>
+<div class="block"><p>Sub-classes can implement the logic for handling checkpoint tuple.</p></div>
 <dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#handleCheckpoint-org.apache.storm.tuple.Tuple-org.apache.storm.spout.CheckPointState.Action-long-">handleCheckpoint</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html" title="class in org.apache.storm.topology">CheckpointTupleForwarder</a></code></dd>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html#handleCheckpoint-org.apache.storm.tuple.Tuple-org.apache.storm.spout.CheckPointState.Action-long-">handleCheckpoint</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html" title="class in org.apache.storm.topology">BaseStatefulBoltExecutor</a></code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>checkpointTuple</code> - the checkpoint tuple</dd>
 <dd><code>action</code> - the action (prepare, commit, rollback or initstate)</dd>
@@ -294,11 +345,11 @@ extends <a href="../../../../org/apache/
 <li class="blockList">
 <h4>handleTuple</h4>
 <pre>protected&nbsp;void&nbsp;handleTuple(<a href="../../../../org/apache/storm/tuple/Tuple.html" title="interface in org.apache.storm.tuple">Tuple</a>&nbsp;input)</pre>
-<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#handleTuple-org.apache.storm.tuple.Tuple-">CheckpointTupleForwarder</a></code></span></div>
-<div class="block"><p>Hands off tuple to the wrapped bolt to execute. Sub-classes can override the behavior. <p> Right now tuples continue to get forwarded while waiting for checkpoints to arrive on other streams after checkpoint arrives on one of the streams. This can cause duplicates but still at least once. </p></p></div>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html#handleTuple-org.apache.storm.tuple.Tuple-">BaseStatefulBoltExecutor</a></code></span></div>
+<div class="block"><p>Sub-classes can implement the logic for handling the tuple.</p></div>
 <dl>
-<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
-<dd><code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html#handleTuple-org.apache.storm.tuple.Tuple-">handleTuple</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/storm/topology/CheckpointTupleForwarder.html" title="class in org.apache.storm.topology">CheckpointTupleForwarder</a></code></dd>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html#handleTuple-org.apache.storm.tuple.Tuple-">handleTuple</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/storm/topology/BaseStatefulBoltExecutor.html" title="class in org.apache.storm.topology">BaseStatefulBoltExecutor</a></code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>input</code> - the input tuple</dd>
 </dl>
@@ -361,7 +412,7 @@ hljs.initHighlightingOnLoad();
 <div>
 <ul class="subNavList">
 <li>Summary:&nbsp;</li>
-<li><a href="#nested.classes.inherited.from.class.org.apache.storm.topology.CheckpointTupleForwarder">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#nested.classes.inherited.from.class.org.apache.storm.topology.BaseStatefulBoltExecutor">Nested</a>&nbsp;|&nbsp;</li>
 <li>Field&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
 <li><a href="#method.summary">Method</a></li>

Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulWindowedBoltExecutor.html
URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulWindowedBoltExecutor.html?rev=1746370&r1=1746369&r2=1746370&view=diff
==============================================================================
--- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulWindowedBoltExecutor.html (original)
+++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/StatefulWindowedBoltExecutor.html Wed Jun  1 03:28:26 2016
@@ -225,11 +225,11 @@ implements <a href="../../../../org/apac
 <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
 </ul>
 <ul class="blockList">
-<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.task.IBolt">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.IStatefulBolt">
 <!--   -->
 </a>
-<h3>Methods inherited from interface&nbsp;org.apache.storm.task.<a href="../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a></h3>
-<code><a href="../../../../org/apache/storm/task/IBolt.html#cleanup--">cleanup</a></code></li>
+<h3>Methods inherited from interface&nbsp;org.apache.storm.topology.<a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a></h3>
+<code><a href="../../../../org/apache/storm/topology/IStatefulBolt.html#cleanup--">cleanup</a></code></li>
 </ul>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.IComponent">
@@ -283,12 +283,16 @@ implements <a href="../../../../org/apac
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a></code></dd>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/storm/topology/IStatefulBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;<a href="../../../../org/apache/storm/topology/StatefulWindowedBoltExecutor.html" title="type parameter in StatefulWindowedBoltExecutor">T</a> extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;</code></dd>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="../../../../org/apache/storm/topology/WindowedBoltExecutor.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/storm/topology/WindowedBoltExecutor.html" title="class in org.apache.storm.topology">WindowedBoltExecutor</a></code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>stormConf</code> - The Storm configuration for this bolt. This is the configuration provided to the topology merged in with cluster configuration on this machine.</dd>
 <dd><code>context</code> - This object can be used to get information about this task&rsquo;s place within the topology, including the task id and component id of this task, input and output information, etc.</dd>
 <dd><code>collector</code> - The collector is used to emit tuples from this bolt. Tuples can be emitted at any time, including the prepare and cleanup methods. The collector is thread-safe and should be saved as an instance variable of this bolt object.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"><code>IBolt.prepare(Map, TopologyContext, OutputCollector)</code></a></dd>
 </dl>
 </li>
 </ul>
@@ -304,10 +308,14 @@ implements <a href="../../../../org/apac
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
 <dd><code><a href="../../../../org/apache/storm/task/IBolt.html#execute-org.apache.storm.tuple.Tuple-">execute</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a></code></dd>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../org/apache/storm/topology/IStatefulBolt.html#execute-org.apache.storm.tuple.Tuple-">execute</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;<a href="../../../../org/apache/storm/topology/StatefulWindowedBoltExecutor.html" title="type parameter in StatefulWindowedBoltExecutor">T</a> extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;</code></dd>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="../../../../org/apache/storm/topology/WindowedBoltExecutor.html#execute-org.apache.storm.tuple.Tuple-">execute</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/apache/storm/topology/WindowedBoltExecutor.html" title="class in org.apache.storm.topology">WindowedBoltExecutor</a></code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>input</code> - The input tuple to be processed.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../org/apache/storm/task/IBolt.html#execute-org.apache.storm.tuple.Tuple-"><code>IBolt.execute(Tuple)</code></a></dd>
 </dl>
 </li>
 </ul>

Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/TopologyBuilder.html
URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/TopologyBuilder.html?rev=1746370&r1=1746369&r2=1746370&view=diff
==============================================================================
--- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/TopologyBuilder.html (original)
+++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/TopologyBuilder.html Wed Jun  1 03:28:26 2016
@@ -18,7 +18,7 @@
     catch(err) {
     }
 //-->
-var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -250,13 +250,27 @@ cluster.shutdown();
 </tr>
 <tr id="i6" class="altColor">
 <td class="colFirst"><code>&lt;T extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;<br><a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setBolt-java.lang.String-org.apache.storm.topology.IStatefulBolt-">setBolt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
+       <a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;T&gt;&nbsp;bolt)</code>
+<div class="block">Define a new bolt in this topology.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>&lt;T extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;<br><a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setBolt-java.lang.String-org.apache.storm.topology.IStatefulBolt-java.lang.Number-">setBolt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
        <a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;T&gt;&nbsp;bolt,
        <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;parallelism_hint)</code>
 <div class="block">Define a new bolt in this topology.</div>
 </td>
 </tr>
-<tr id="i7" class="rowColor">
+<tr id="i8" class="altColor">
+<td class="colFirst"><code>&lt;T extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;<br><a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setBolt-java.lang.String-org.apache.storm.topology.IStatefulWindowedBolt-">setBolt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
+       <a href="../../../../org/apache/storm/topology/IStatefulWindowedBolt.html" title="interface in org.apache.storm.topology">IStatefulWindowedBolt</a>&lt;T&gt;&nbsp;bolt)</code>
+<div class="block">Define a new bolt in this topology.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
 <td class="colFirst"><code>&lt;T extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;<br><a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setBolt-java.lang.String-org.apache.storm.topology.IStatefulWindowedBolt-java.lang.Number-">setBolt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
        <a href="../../../../org/apache/storm/topology/IStatefulWindowedBolt.html" title="interface in org.apache.storm.topology">IStatefulWindowedBolt</a>&lt;T&gt;&nbsp;bolt,
@@ -264,7 +278,14 @@ cluster.shutdown();
 <div class="block">Define a new bolt in this topology.</div>
 </td>
 </tr>
-<tr id="i8" class="altColor">
+<tr id="i10" class="altColor">
+<td class="colFirst"><code><a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setBolt-java.lang.String-org.apache.storm.topology.IWindowedBolt-">setBolt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
+       <a href="../../../../org/apache/storm/topology/IWindowedBolt.html" title="interface in org.apache.storm.topology">IWindowedBolt</a>&nbsp;bolt)</code>
+<div class="block">Define a new bolt in this topology.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setBolt-java.lang.String-org.apache.storm.topology.IWindowedBolt-java.lang.Number-">setBolt</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
        <a href="../../../../org/apache/storm/topology/IWindowedBolt.html" title="interface in org.apache.storm.topology">IWindowedBolt</a>&nbsp;bolt,
@@ -272,14 +293,14 @@ cluster.shutdown();
 <div class="block">Define a new bolt in this topology.</div>
 </td>
 </tr>
-<tr id="i9" class="rowColor">
+<tr id="i12" class="altColor">
 <td class="colFirst"><code><a href="../../../../org/apache/storm/topology/SpoutDeclarer.html" title="interface in org.apache.storm.topology">SpoutDeclarer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setSpout-java.lang.String-org.apache.storm.topology.IRichSpout-">setSpout</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
         <a href="../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology">IRichSpout</a>&nbsp;spout)</code>
 <div class="block">Define a new spout in this topology.</div>
 </td>
 </tr>
-<tr id="i10" class="altColor">
+<tr id="i13" class="rowColor">
 <td class="colFirst"><code><a href="../../../../org/apache/storm/topology/SpoutDeclarer.html" title="interface in org.apache.storm.topology">SpoutDeclarer</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setSpout-java.lang.String-org.apache.storm.topology.IRichSpout-java.lang.Number-">setSpout</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
         <a href="../../../../org/apache/storm/topology/IRichSpout.html" title="interface in org.apache.storm.topology">IRichSpout</a>&nbsp;spout,
@@ -287,12 +308,12 @@ cluster.shutdown();
 <div class="block">Define a new spout in this topology with the specified parallelism.</div>
 </td>
 </tr>
-<tr id="i11" class="rowColor">
+<tr id="i14" class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setStateSpout-java.lang.String-org.apache.storm.topology.IRichStateSpout-">setStateSpout</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
              <a href="../../../../org/apache/storm/topology/IRichStateSpout.html" title="interface in org.apache.storm.topology">IRichStateSpout</a>&nbsp;stateSpout)</code>&nbsp;</td>
 </tr>
-<tr id="i12" class="altColor">
+<tr id="i15" class="rowColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/storm/topology/TopologyBuilder.html#setStateSpout-java.lang.String-org.apache.storm.topology.IRichStateSpout-java.lang.Number-">setStateSpout</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
              <a href="../../../../org/apache/storm/topology/IRichStateSpout.html" title="interface in org.apache.storm.topology">IRichStateSpout</a>&nbsp;stateSpout,
@@ -434,6 +455,27 @@ cluster.shutdown();
 </dl>
 </li>
 </ul>
+<a name="setBolt-java.lang.String-org.apache.storm.topology.IWindowedBolt-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setBolt</h4>
+<pre>public&nbsp;<a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a>&nbsp;setBolt(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
+                            <a href="../../../../org/apache/storm/topology/IWindowedBolt.html" title="interface in org.apache.storm.topology">IWindowedBolt</a>&nbsp;bolt)
+                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
+<div class="block"><p>Define a new bolt in this topology. This defines a windowed bolt, intended for windowing operations. The <a href="../../../../org/apache/storm/topology/IWindowedBolt.html#execute-org.apache.storm.windowing.TupleWindow-"><code>IWindowedBolt.execute(TupleWindow)</code></a> method is triggered for each window interval with the list of current events in the window.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>id</code> - the id of this component. This id is referenced by other components that want to consume this bolt&rsquo;s outputs.</dd>
+<dd><code>bolt</code> - the windowed bolt</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>use the returned object to declare the inputs to this component</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>parallelism_hint</code> is not positive</dd>
+</dl>
+</li>
+</ul>
 <a name="setBolt-java.lang.String-org.apache.storm.topology.IWindowedBolt-java.lang.Number-">
 <!--   -->
 </a>
@@ -457,6 +499,27 @@ cluster.shutdown();
 </dl>
 </li>
 </ul>
+<a name="setBolt-java.lang.String-org.apache.storm.topology.IStatefulBolt-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setBolt</h4>
+<pre>public&nbsp;&lt;T extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;&nbsp;<a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a>&nbsp;setBolt(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
+                                              <a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;T&gt;&nbsp;bolt)
+                                       throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
+<div class="block"><p>Define a new bolt in this topology. This defines a stateful bolt, that requires its state (of computation) to be saved. When this bolt is initialized, the <a href="../../../../org/apache/storm/topology/IStatefulComponent.html#initState-T-"><code>IStatefulComponent.initState(State)</code></a> method is invoked after <a href="../../../../org/apache/storm/topology/IStatefulBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"><code>IStatefulBolt.prepare(Map, TopologyContext, OutputCollector)</code></a> but before <a href="../../../../org/apache/storm/topology/IStatefulBolt.html#execute-org.apache.storm.tuple.Tuple-"><code>IStatefulBolt.execute(Tuple)</code></a> with its previously saved state. <p> The framework provides at-least once guarantee for the state updates. Bolts (both stateful and non-stateful) in a stateful topology are expected to anchor the tuples while emitting and ack the input tuples once its 
 processed. </p></p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>id</code> - the id of this component. This id is referenced by other components that want to consume this bolt&rsquo;s outputs.</dd>
+<dd><code>bolt</code> - the stateful bolt</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>use the returned object to declare the inputs to this component</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>parallelism_hint</code> is not positive</dd>
+</dl>
+</li>
+</ul>
 <a name="setBolt-java.lang.String-org.apache.storm.topology.IStatefulBolt-java.lang.Number-">
 <!--   -->
 </a>
@@ -467,7 +530,7 @@ cluster.shutdown();
                                               <a href="../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;T&gt;&nbsp;bolt,
                                               <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;parallelism_hint)
                                        throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
-<div class="block"><p>Define a new bolt in this topology. This defines a stateful bolt, that requires its state (of computation) to be saved. When this bolt is initialized, the <a href="../../../../org/apache/storm/topology/IStatefulComponent.html#initState-T-"><code>IStatefulComponent.initState(State)</code></a> method is invoked after <a href="../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"><code>IBolt.prepare(Map, TopologyContext, OutputCollector)</code></a> but before <a href="../../../../org/apache/storm/task/IBolt.html#execute-org.apache.storm.tuple.Tuple-"><code>IBolt.execute(Tuple)</code></a> with its previously saved state. <p> The framework provides at-least once guarantee for the state updates. Bolts (both stateful and non-stateful) in a stateful topology are expected to anchor the tuples while emitting and ack the input tuples once its processed. </p></p></div>
+<div class="block"><p>Define a new bolt in this topology. This defines a stateful bolt, that requires its state (of computation) to be saved. When this bolt is initialized, the <a href="../../../../org/apache/storm/topology/IStatefulComponent.html#initState-T-"><code>IStatefulComponent.initState(State)</code></a> method is invoked after <a href="../../../../org/apache/storm/topology/IStatefulBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"><code>IStatefulBolt.prepare(Map, TopologyContext, OutputCollector)</code></a> but before <a href="../../../../org/apache/storm/topology/IStatefulBolt.html#execute-org.apache.storm.tuple.Tuple-"><code>IStatefulBolt.execute(Tuple)</code></a> with its previously saved state. <p> The framework provides at-least once guarantee for the state updates. Bolts (both stateful and non-stateful) in a stateful topology are expected to anchor the tuples while emitting and ack the input tuples once its 
 processed. </p></p></div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
 <dd><code>id</code> - the id of this component. This id is referenced by other components that want to consume this bolt&rsquo;s outputs.</dd>
@@ -476,6 +539,28 @@ cluster.shutdown();
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>use the returned object to declare the inputs to this component</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>parallelism_hint</code> is not positive</dd>
+</dl>
+</li>
+</ul>
+<a name="setBolt-java.lang.String-org.apache.storm.topology.IStatefulWindowedBolt-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setBolt</h4>
+<pre>public&nbsp;&lt;T extends <a href="../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;&nbsp;<a href="../../../../org/apache/storm/topology/BoltDeclarer.html" title="interface in org.apache.storm.topology">BoltDeclarer</a>&nbsp;setBolt(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
+                                              <a href="../../../../org/apache/storm/topology/IStatefulWindowedBolt.html" title="interface in org.apache.storm.topology">IStatefulWindowedBolt</a>&lt;T&gt;&nbsp;bolt)
+                                       throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></pre>
+<div class="block"><p>Define a new bolt in this topology. This defines a stateful windowed bolt, intended for stateful windowing operations. The <a href="../../../../org/apache/storm/topology/IWindowedBolt.html#execute-org.apache.storm.windowing.TupleWindow-"><code>IWindowedBolt.execute(TupleWindow)</code></a> method is triggered for each window interval with the list of current events in the window. During initialization of this bolt <a href="../../../../org/apache/storm/topology/IStatefulComponent.html#initState-T-"><code>IStatefulComponent.initState(State)</code></a> is invoked with its previously saved state.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>id</code> - the id of this component. This id is referenced by other components that want to consume this bolt&rsquo;s outputs.</dd>
+<dd><code>bolt</code> - the stateful windowed bolt</dd>
+<dd><code>T</code> - the type of the state (e.g. <a href="../../../../org/apache/storm/state/KeyValueState.html" title="interface in org.apache.storm.state"><code>KeyValueState</code></a>)</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>use the returned object to declare the inputs to this component</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
 <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>parallelism_hint</code> is not positive</dd>
 </dl>
 </li>

Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseStatefulBolt.html
URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseStatefulBolt.html?rev=1746370&r1=1746369&r2=1746370&view=diff
==============================================================================
--- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseStatefulBolt.html (original)
+++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseStatefulBolt.html Wed Jun  1 03:28:26 2016
@@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <dl>
 <dt>All Implemented Interfaces:</dt>
-<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a>, <a href="../../../../../org/apache/storm/topology/IComponent.html" title="interface in org.apache.storm.topology">IComponent</a>, <a href="../../../../../org/apache/storm/topology/IRichBolt.html" title="interface in org.apache.storm.topology">IRichBolt</a>, <a href="../../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;T&gt;, <a href="../../../../../org/apache/storm/topology/IStatefulComponent.html" title="interface in org.apache.storm.topology">IStatefulComponent</a>&lt;T&gt;</dd>
+<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="../../../../../org/apache/storm/topology/IComponent.html" title="interface in org.apache.storm.topology">IComponent</a>, <a href="../../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;T&gt;, <a href="../../../../../org/apache/storm/topology/IStatefulComponent.html" title="interface in org.apache.storm.topology">IStatefulComponent</a>&lt;T&gt;</dd>
 </dl>
 <hr>
 <br>
@@ -157,9 +157,7 @@ implements <a href="../../../../../org/a
 </tr>
 <tr id="i0" class="altColor">
 <td class="colFirst"><code>void</code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseStatefulBolt.html#cleanup--">cleanup</a></span>()</code>
-<div class="block">Called when an IBolt is going to be shutdown.</div>
-</td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseStatefulBolt.html#cleanup--">cleanup</a></span>()</code>&nbsp;</td>
 </tr>
 <tr id="i1" class="rowColor">
 <td class="colFirst"><code>void</code></td>
@@ -183,9 +181,7 @@ implements <a href="../../../../../org/a
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseStatefulBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&nbsp;stormConf,
        <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a>&nbsp;context,
-       <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a>&nbsp;collector)</code>
-<div class="block">Called when a task for this component is initialized within a worker on the cluster.</div>
-</td>
+       <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a>&nbsp;collector)</code>&nbsp;</td>
 </tr>
 <tr id="i5" class="rowColor">
 <td class="colFirst"><code>void</code></td>
@@ -208,18 +204,18 @@ implements <a href="../../../../../org/a
 <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
 </ul>
 <ul class="blockList">
-<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.IStatefulComponent">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.IStatefulBolt">
 <!--   -->
 </a>
-<h3>Methods inherited from interface&nbsp;org.apache.storm.topology.<a href="../../../../../org/apache/storm/topology/IStatefulComponent.html" title="interface in org.apache.storm.topology">IStatefulComponent</a></h3>
-<code><a href="../../../../../org/apache/storm/topology/IStatefulComponent.html#initState-T-">initState</a></code></li>
+<h3>Methods inherited from interface&nbsp;org.apache.storm.topology.<a href="../../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a></h3>
+<code><a href="../../../../../org/apache/storm/topology/IStatefulBolt.html#execute-org.apache.storm.tuple.Tuple-">execute</a></code></li>
 </ul>
 <ul class="blockList">
-<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.task.IBolt">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.storm.topology.IStatefulComponent">
 <!--   -->
 </a>
-<h3>Methods inherited from interface&nbsp;org.apache.storm.task.<a href="../../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a></h3>
-<code><a href="../../../../../org/apache/storm/task/IBolt.html#execute-org.apache.storm.tuple.Tuple-">execute</a></code></li>
+<h3>Methods inherited from interface&nbsp;org.apache.storm.topology.<a href="../../../../../org/apache/storm/topology/IStatefulComponent.html" title="interface in org.apache.storm.topology">IStatefulComponent</a></h3>
+<code><a href="../../../../../org/apache/storm/topology/IStatefulComponent.html#initState-T-">initState</a></code></li>
 </ul>
 </li>
 </ul>
@@ -261,15 +257,11 @@ implements <a href="../../../../../org/a
 <pre>public&nbsp;void&nbsp;prepare(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&nbsp;stormConf,
                     <a href="../../../../../org/apache/storm/task/TopologyContext.html" title="class in org.apache.storm.task">TopologyContext</a>&nbsp;context,
                     <a href="../../../../../org/apache/storm/task/OutputCollector.html" title="class in org.apache.storm.task">OutputCollector</a>&nbsp;collector)</pre>
-<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">IBolt</a></code></span></div>
-<div class="block"><p>Called when a task for this component is initialized within a worker on the cluster. It provides the bolt with the environment in which the bolt executes.</p><p>This includes the:</p></div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
-<dd><code><a href="../../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a></code></dd>
-<dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>stormConf</code> - The Storm configuration for this bolt. This is the configuration provided to the topology merged in with cluster configuration on this machine.</dd>
-<dd><code>context</code> - This object can be used to get information about this task&rsquo;s place within the topology, including the task id and component id of this task, input and output information, etc.</dd>
-<dd><code>collector</code> - The collector is used to emit tuples from this bolt. Tuples can be emitted at any time, including the prepare and cleanup methods. The collector is thread-safe and should be saved as an instance variable of this bolt object.</dd>
+<dd><code><a href="../../../../../org/apache/storm/topology/IStatefulBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-">prepare</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;<a href="../../../../../org/apache/storm/topology/base/BaseStatefulBolt.html" title="type parameter in BaseStatefulBolt">T</a> extends <a href="../../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;</code></dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../org/apache/storm/task/IBolt.html#prepare-java.util.Map-org.apache.storm.task.TopologyContext-org.apache.storm.task.OutputCollector-"><code>IBolt.prepare(Map, TopologyContext, OutputCollector)</code></a></dd>
 </dl>
 </li>
 </ul>
@@ -280,11 +272,11 @@ implements <a href="../../../../../org/a
 <li class="blockList">
 <h4>cleanup</h4>
 <pre>public&nbsp;void&nbsp;cleanup()</pre>
-<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/storm/task/IBolt.html#cleanup--">IBolt</a></code></span></div>
-<div class="block"><p>Called when an IBolt is going to be shutdown. There is no guarentee that cleanup will be called, because the supervisor kill -9&rsquo;s worker processes on the cluster.</p><p>The one context where cleanup is guaranteed to be called is when a topology is killed when running Storm in local mode.</p></div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
-<dd><code><a href="../../../../../org/apache/storm/task/IBolt.html#cleanup--">cleanup</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/storm/task/IBolt.html" title="interface in org.apache.storm.task">IBolt</a></code></dd>
+<dd><code><a href="../../../../../org/apache/storm/topology/IStatefulBolt.html#cleanup--">cleanup</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/storm/topology/IStatefulBolt.html" title="interface in org.apache.storm.topology">IStatefulBolt</a>&lt;<a href="../../../../../org/apache/storm/topology/base/BaseStatefulBolt.html" title="type parameter in BaseStatefulBolt">T</a> extends <a href="../../../../../org/apache/storm/state/State.html" title="interface in org.apache.storm.state">State</a>&gt;</code></dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../org/apache/storm/task/IBolt.html#cleanup--"><code>IBolt.cleanup()</code></a></dd>
 </dl>
 </li>
 </ul>

Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Count.html
URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Count.html?rev=1746370&r1=1746369&r2=1746370&view=diff
==============================================================================
--- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Count.html (original)
+++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Count.html Wed Jun  1 03:28:26 2016
@@ -18,6 +18,12 @@
     catch(err) {
     }
 //-->
+var methods = {"i0":9,"i1":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
 </script>
 <noscript>
 <div>JavaScript is disabled on your browser.</div>
@@ -71,13 +77,13 @@
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+<li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
-<li>Method</li>
+<li><a href="#method.detail">Method</a></li>
 </ul>
 </div>
 <a name="skip.navbar.top">
@@ -158,12 +164,29 @@ extends <a href="http://docs.oracle.com/
 <!--   -->
 </a>
 <h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Count.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Count</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Count.html#of-int-">of</a></span>(int&nbsp;value)</code>
+<div class="block">Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Count.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Count</code></a> of given value.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Count.html#toString--">toString</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
 </ul>
 </li>
 </ul>
@@ -207,6 +230,43 @@ extends <a href="http://docs.oracle.com/
 </ul>
 </li>
 </ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="of-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>of</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Count.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Count</a>&nbsp;of(int&nbsp;value)</pre>
+<div class="block"><p>Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Count.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Count</code></a> of given value.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>value</code> - the count value</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the Count</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
 </li>
 </ul>
 </div>
@@ -265,13 +325,13 @@ hljs.initHighlightingOnLoad();
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+<li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
-<li>Method</li>
+<li><a href="#method.detail">Method</a></li>
 </ul>
 </div>
 <a name="skip.navbar.bottom">

Modified: storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Duration.html
URL: http://svn.apache.org/viewvc/storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Duration.html?rev=1746370&r1=1746369&r2=1746370&view=diff
==============================================================================
--- storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Duration.html (original)
+++ storm/site/releases/2.0.0-SNAPSHOT/javadocs/org/apache/storm/topology/base/BaseWindowedBolt.Duration.html Wed Jun  1 03:28:26 2016
@@ -18,6 +18,12 @@
     catch(err) {
     }
 //-->
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":10};
+var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
 </script>
 <noscript>
 <div>JavaScript is disabled on your browser.</div>
@@ -71,13 +77,13 @@
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+<li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
-<li>Method</li>
+<li><a href="#method.detail">Method</a></li>
 </ul>
 </div>
 <a name="skip.navbar.top">
@@ -159,12 +165,53 @@ extends <a href="http://docs.oracle.com/
 <!--   -->
 </a>
 <h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html#days-int-">days</a></span>(int&nbsp;days)</code>
+<div class="block">Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in days.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html#hours-int-">hours</a></span>(int&nbsp;hours)</code>
+<div class="block">Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in hours.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html#minutes-int-">minutes</a></span>(int&nbsp;minutes)</code>
+<div class="block">Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in minutes.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html#of-int-">of</a></span>(int&nbsp;milliseconds)</code>
+<div class="block">Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in milli seconds.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html#seconds-int-">seconds</a></span>(int&nbsp;seconds)</code>
+<div class="block">Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in seconds.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html#toString--">toString</a></span>()</code>&nbsp;</td>
+</tr>
+</table>
 <ul class="blockList">
 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
 <!--   -->
 </a>
 <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
-<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
 </ul>
 </li>
 </ul>
@@ -209,6 +256,107 @@ extends <a href="http://docs.oracle.com/
 </ul>
 </li>
 </ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="of-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>of</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a>&nbsp;of(int&nbsp;milliseconds)</pre>
+<div class="block"><p>Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in milli seconds.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>milliseconds</code> - the duration in milliseconds</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the Duration</dd>
+</dl>
+</li>
+</ul>
+<a name="days-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>days</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a>&nbsp;days(int&nbsp;days)</pre>
+<div class="block"><p>Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in days.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>days</code> - the number of days</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the Duration</dd>
+</dl>
+</li>
+</ul>
+<a name="hours-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>hours</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a>&nbsp;hours(int&nbsp;hours)</pre>
+<div class="block"><p>Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in hours.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>hours</code> - the number of hours</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the Duration</dd>
+</dl>
+</li>
+</ul>
+<a name="minutes-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>minutes</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a>&nbsp;minutes(int&nbsp;minutes)</pre>
+<div class="block"><p>Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in minutes.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>minutes</code> - the number of minutes</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the Duration</dd>
+</dl>
+</li>
+</ul>
+<a name="seconds-int-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>seconds</h4>
+<pre>public static&nbsp;<a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base">BaseWindowedBolt.Duration</a>&nbsp;seconds(int&nbsp;seconds)</pre>
+<div class="block"><p>Returns a <a href="../../../../../org/apache/storm/topology/base/BaseWindowedBolt.Duration.html" title="class in org.apache.storm.topology.base"><code>BaseWindowedBolt.Duration</code></a> corresponding to the the given value in seconds.</p></div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>seconds</code> - the number of seconds</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the Duration</dd>
+</dl>
+</li>
+</ul>
+<a name="toString--">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>toString</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
 </li>
 </ul>
 </div>
@@ -267,13 +415,13 @@ hljs.initHighlightingOnLoad();
 <li>Nested&nbsp;|&nbsp;</li>
 <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
-<li><a href="#methods.inherited.from.class.java.lang.Object">Method</a></li>
+<li><a href="#method.summary">Method</a></li>
 </ul>
 <ul class="subNavList">
 <li>Detail:&nbsp;</li>
 <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
 <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
-<li>Method</li>
+<li><a href="#method.detail">Method</a></li>
 </ul>
 </div>
 <a name="skip.navbar.bottom">