beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aljos...@apache.org
Subject [28/51] [abbrv] [partial] incubator-beam-site git commit: Rebuild site
Date Mon, 31 Oct 2016 16:19:32 GMT
http://git-wip-us.apache.org/repos/asf/incubator-beam-site/blob/141627ec/content/learn/sdks/javadoc/0.3.0-incubating/org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html
----------------------------------------------------------------------
diff --git a/content/learn/sdks/javadoc/0.3.0-incubating/org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html b/content/learn/sdks/javadoc/0.3.0-incubating/org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html
new file mode 100644
index 0000000..9e840ab
--- /dev/null
+++ b/content/learn/sdks/javadoc/0.3.0-incubating/org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html
@@ -0,0 +1,779 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (1.8.0_102) on Mon Oct 31 14:28:39 CET 2016 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>AfterDelayFromFirstElementStateMachine (Apache Beam SDK for Java, version 0.3.0-incubating)</title>
+<meta name="date" content="2016-10-31">
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+<script type="text/javascript" src="../../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+    try {
+        if (location.href.indexOf('is-external=true') == -1) {
+            parent.document.title="AfterDelayFromFirstElementStateMachine (Apache Beam SDK for Java, version 0.3.0-incubating)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":6,"i5":10,"i6":10,"i7":10,"i8":6,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/AfterDelayFromFirstElementStateMachine.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterAllStateMachine.html" title="class in org.apache.beam.runners.core.triggers"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterEachStateMachine.html" title="class in org.apache.beam.runners.core.triggers"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../index.html?org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" target="_top">Frames</a></li>
+<li><a href="AfterDelayFromFirstElementStateMachine.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested.classes.inherited.from.class.org.apache.beam.runners.core.triggers.TriggerStateMachine">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.beam.runners.core.triggers</div>
+<h2 title="Class AfterDelayFromFirstElementStateMachine" class="title">Class AfterDelayFromFirstElementStateMachine</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<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/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">org.apache.beam.runners.core.triggers.TriggerStateMachine</a></li>
+<li>
+<ul class="inheritance">
+<li><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">org.apache.beam.runners.core.triggers.TriggerStateMachine.OnceTriggerStateMachine</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.beam.runners.core.triggers.AfterDelayFromFirstElementStateMachine</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<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></dd>
+</dl>
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterProcessingTimeStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterProcessingTimeStateMachine</a></dd>
+</dl>
+<hr>
+<br>
+<pre><a href="../../../../../../org/apache/beam/sdk/annotations/Experimental.html" title="annotation in org.apache.beam.sdk.annotations">@Experimental</a>(<a href="../../../../../../org/apache/beam/sdk/annotations/Experimental.html#value--">value</a>=<a href="../../../../../../org/apache/beam/sdk/annotations/Experimental.Kind.html#TRIGGER">TRIGGER</a>)
+public abstract class <span class="typeNameLabel">AfterDelayFromFirstElementStateMachine</span>
+extends <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnceTriggerStateMachine</a></pre>
+<div class="block">A base class for triggers that happen after a processing time delay from the arrival
+ of the first element in a pane.
+
+ <p>This class is for internal use only and may change at any time.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../../../../serialized-form.html#org.apache.beam.runners.core.triggers.AfterDelayFromFirstElementStateMachine">Serialized Form</a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested.class.summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.beam.runners.core.triggers.TriggerStateMachine">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;org.apache.beam.runners.core.triggers.<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></h3>
+<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.MergingTriggerInfo.html" title="interface in org.apache.beam.runners.core.triggers">TriggerStateMachine.MergingTriggerInfo</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnceTriggerStateMachine</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnElementContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnElementContext</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnMergeContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnMergeContext</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.tr
 iggers">TriggerStateMachine.TriggerContext</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerInfo.html" title="interface in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerInfo</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected static <a href="../../../../../../org/apache/beam/sdk/util/state/StateTag.html" title="interface in org.apache.beam.sdk.util.state">StateTag</a>&lt;<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>,<a href="../../../../../../org/apache/beam/sdk/util/state/AccumulatorCombiningState.html" title="interface in org.apache.beam.sdk.util.state">AccumulatorCombiningState</a>&lt;org.joda.time.Instant,<a href="../../../../../../org/apache/beam/sdk/transforms/Combine.Holder.html" title="class in org.apache.beam.sdk.transforms">Combine.Holder</a>&lt;org.joda.time.Instant&gt;,org.joda.time.Instant&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#DELAYED_UNTIL_TAG">DELAYED_UNTIL_TAG</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#IDENTITY">IDENTITY</a></span></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="../../../../../../org/apache/beam/sdk/util/TimeDomain.html" title="enum in org.apache.beam.sdk.util">TimeDomain</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#timeDomain">timeDomain</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#timestampMappers">timestampMappers</a></span></code>
+<div class="block">A list of timestampMappers m1, m2, m3, ...</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="fields.inherited.from.class.org.apache.beam.runners.core.triggers.TriggerStateMachine">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;org.apache.beam.runners.core.triggers.<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></h3>
+<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#subTriggers">subTriggers</a></code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#AfterDelayFromFirstElementStateMachine-org.apache.beam.sdk.util.TimeDomain-java.util.List-">AfterDelayFromFirstElementStateMachine</a></span>(<a href="../../../../../../org/apache/beam/sdk/util/TimeDomain.html" title="enum in org.apache.beam.sdk.util">TimeDomain</a>&nbsp;timeDomain,
+                                      <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;&nbsp;timestampMappers)</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#alignedTo-org.joda.time.Duration-">alignedTo</a></span>(org.joda.time.Duration&nbsp;size)</code>
+<div class="block">Aligns the time to be the smallest multiple of <code>size</code> greater than the timestamp
+ since the epoch.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#alignedTo-org.joda.time.Duration-org.joda.time.Instant-">alignedTo</a></span>(org.joda.time.Duration&nbsp;size,
+         org.joda.time.Instant&nbsp;offset)</code>
+<div class="block">Aligns timestamps to the smallest multiple of <code>size</code> since the <code>offset</code> greater
+ than the timestamp.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#clear-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">clear</a></span>(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;c)</code>
+<div class="block">Clear any state associated with this trigger in the given window.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code>protected org.joda.time.Instant</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#computeTargetTimestamp-org.joda.time.Instant-">computeTargetTimestamp</a></span>(org.joda.time.Instant&nbsp;time)</code>&nbsp;</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code>abstract org.joda.time.Instant</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#getCurrentTime-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">getCurrentTime</a></span>(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;context)</code>
+<div class="block">To complete an implementation, return the desired time from the TriggerContext.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a href="../../../../../../org/apache/beam/sdk/util/TimeDomain.html" title="enum in org.apache.beam.sdk.util">TimeDomain</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#getTimeDomain--">getTimeDomain</a></span>()</code>
+<div class="block">The time domain according to which this trigger sets timers.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#getTimestampMappers--">getTimestampMappers</a></span>()</code>
+<div class="block">The mapping functions applied to the arrival time of an element to determine when to
+ set a wake-up timer for triggering.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#isCompatible-org.apache.beam.runners.core.triggers.TriggerStateMachine-">isCompatible</a></span>(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a>&nbsp;other)</code>
+<div class="block">Returns whether this performs the same triggering as the given <code>Trigger</code>.</div>
+</td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code>protected abstract <a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#newWith-java.util.List-">newWith</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;&nbsp;transform)</code>
+<div class="block">To complete an implementation, return a new instance like this one, but incorporating
+ the provided timestamp mapping functions.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#onElement-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext-">onElement</a></span>(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnElementContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnElementContext</a>&nbsp;c)</code>
+<div class="block">Called every time an element is incorporated into a window.</div>
+</td>
+</tr>
+<tr id="i10" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#onMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-">onMerge</a></span>(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnMergeContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnMergeContext</a>&nbsp;c)</code>
+<div class="block">Called immediately after windows have been merged.</div>
+</td>
+</tr>
+<tr id="i11" class="rowColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#onOnlyFiring-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">onOnlyFiring</a></span>(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;context)</code>
+<div class="block">Called exactly once by <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html#onFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-"><code>TriggerStateMachine.OnceTriggerStateMachine.onFire(org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext)</code></a> when the trigger is fired.</div>
+</td>
+</tr>
+<tr id="i12" class="altColor">
+<td class="colFirst"><code><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#plusDelayOf-org.joda.time.Duration-">plusDelayOf</a></span>(org.joda.time.Duration&nbsp;delay)</code>
+<div class="block">Adds some delay to the original target time.</div>
+</td>
+</tr>
+<tr id="i13" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#prefetchOnElement-org.apache.beam.sdk.util.state.StateAccessor-">prefetchOnElement</a></span>(<a href="../../../../../../org/apache/beam/sdk/util/state/StateAccessor.html" title="interface in org.apache.beam.sdk.util.state">StateAccessor</a>&lt;?&gt;&nbsp;state)</code>
+<div class="block">Called to allow the trigger to prefetch any state it will likely need to read from during
+ an <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onElement-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext-"><code>TriggerStateMachine.onElement(org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext)</code></a> call.</div>
+</td>
+</tr>
+<tr id="i14" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#prefetchOnMerge-org.apache.beam.sdk.util.state.MergingStateAccessor-">prefetchOnMerge</a></span>(<a href="../../../../../../org/apache/beam/sdk/util/state/MergingStateAccessor.html" title="interface in org.apache.beam.sdk.util.state">MergingStateAccessor</a>&lt;?,?&gt;&nbsp;state)</code>
+<div class="block">Called to allow the trigger to prefetch any state it will likely need to read from during
+ an <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-"><code>TriggerStateMachine.onMerge(org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext)</code></a> call.</div>
+</td>
+</tr>
+<tr id="i15" class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#prefetchShouldFire-org.apache.beam.sdk.util.state.StateAccessor-">prefetchShouldFire</a></span>(<a href="../../../../../../org/apache/beam/sdk/util/state/StateAccessor.html" title="interface in org.apache.beam.sdk.util.state">StateAccessor</a>&lt;?&gt;&nbsp;state)</code>
+<div class="block">Called to allow the trigger to prefetch any state it will likely need to read from during
+ an <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#shouldFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-"><code>TriggerStateMachine.shouldFire(org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext)</code></a> call.</div>
+</td>
+</tr>
+<tr id="i16" class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html#shouldFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">shouldFire</a></span>(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;context)</code>
+<div class="block">Returns <code>true</code> if the current state of the trigger indicates that its condition
+ is satisfied and it is ready to fire.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.beam.runners.core.triggers.TriggerStateMachine.OnceTriggerStateMachine">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;org.apache.beam.runners.core.triggers.<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnceTriggerStateMachine</a></h3>
+<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html#onFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">onFire</a></code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.org.apache.beam.runners.core.triggers.TriggerStateMachine">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;org.apache.beam.runners.core.triggers.<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></h3>
+<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#equals-java.lang.Object-">equals</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#hashCode--">hashCode</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#orFinally-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnceTriggerStateMachine-">orFinally</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#prefetchOnFire-org.apache.beam.sdk.util.state.StateAccessor-">prefetchOnFire</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#subTriggers--">subTriggers</a>, <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#toString--">toString</a></code></li>
+</ul>
+<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#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#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-ex
 ternal=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>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field.detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="IDENTITY">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>IDENTITY</h4>
+<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt; IDENTITY</pre>
+</li>
+</ul>
+<a name="DELAYED_UNTIL_TAG">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>DELAYED_UNTIL_TAG</h4>
+<pre>protected static final&nbsp;<a href="../../../../../../org/apache/beam/sdk/util/state/StateTag.html" title="interface in org.apache.beam.sdk.util.state">StateTag</a>&lt;<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>,<a href="../../../../../../org/apache/beam/sdk/util/state/AccumulatorCombiningState.html" title="interface in org.apache.beam.sdk.util.state">AccumulatorCombiningState</a>&lt;org.joda.time.Instant,<a href="../../../../../../org/apache/beam/sdk/transforms/Combine.Holder.html" title="class in org.apache.beam.sdk.transforms">Combine.Holder</a>&lt;org.joda.time.Instant&gt;,org.joda.time.Instant&gt;&gt; DELAYED_UNTIL_TAG</pre>
+</li>
+</ul>
+<a name="timestampMappers">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>timestampMappers</h4>
+<pre>protected final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt; timestampMappers</pre>
+<div class="block">A list of timestampMappers m1, m2, m3, ... m_n considered to be composed in sequence. The
+ overall mapping for an instance `instance` is `m_n(... m3(m2(m1(instant))`,
+ implemented via #computeTargetTimestamp</div>
+</li>
+</ul>
+<a name="timeDomain">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>timeDomain</h4>
+<pre>protected final&nbsp;<a href="../../../../../../org/apache/beam/sdk/util/TimeDomain.html" title="enum in org.apache.beam.sdk.util">TimeDomain</a> timeDomain</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="AfterDelayFromFirstElementStateMachine-org.apache.beam.sdk.util.TimeDomain-java.util.List-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>AfterDelayFromFirstElementStateMachine</h4>
+<pre>public&nbsp;AfterDelayFromFirstElementStateMachine(<a href="../../../../../../org/apache/beam/sdk/util/TimeDomain.html" title="enum in org.apache.beam.sdk.util">TimeDomain</a>&nbsp;timeDomain,
+                                              <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;&nbsp;timestampMappers)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getCurrentTime-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCurrentTime</h4>
+<pre><a href="http://docs.oracle.com/javase/7/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
+public abstract&nbsp;org.joda.time.Instant&nbsp;getCurrentTime(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;context)</pre>
+<div class="block">To complete an implementation, return the desired time from the TriggerContext.</div>
+</li>
+</ul>
+<a name="newWith-java.util.List-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newWith</h4>
+<pre>protected abstract&nbsp;<a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a>&nbsp;newWith(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;&nbsp;transform)</pre>
+<div class="block">To complete an implementation, return a new instance like this one, but incorporating
+ the provided timestamp mapping functions. Generally should be used by calling the
+ constructor of this class from the constructor of the subclass.</div>
+</li>
+</ul>
+<a name="getTimeDomain--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTimeDomain</h4>
+<pre>public&nbsp;<a href="../../../../../../org/apache/beam/sdk/util/TimeDomain.html" title="enum in org.apache.beam.sdk.util">TimeDomain</a>&nbsp;getTimeDomain()</pre>
+<div class="block">The time domain according to which this trigger sets timers.</div>
+</li>
+</ul>
+<a name="getTimestampMappers--">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTimestampMappers</h4>
+<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/beam/sdk/transforms/SerializableFunction.html" title="interface in org.apache.beam.sdk.transforms">SerializableFunction</a>&lt;org.joda.time.Instant,org.joda.time.Instant&gt;&gt;&nbsp;getTimestampMappers()</pre>
+<div class="block">The mapping functions applied to the arrival time of an element to determine when to
+ set a wake-up timer for triggering.</div>
+</li>
+</ul>
+<a name="alignedTo-org.joda.time.Duration-org.joda.time.Instant-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>alignedTo</h4>
+<pre>public&nbsp;<a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a>&nbsp;alignedTo(org.joda.time.Duration&nbsp;size,
+                                                        org.joda.time.Instant&nbsp;offset)</pre>
+<div class="block">Aligns timestamps to the smallest multiple of <code>size</code> since the <code>offset</code> greater
+ than the timestamp.
+
+ <p>TODO: Consider sharing this with FixedWindows, and bring over the equivalent of
+ CalendarWindows.</div>
+</li>
+</ul>
+<a name="alignedTo-org.joda.time.Duration-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>alignedTo</h4>
+<pre>public&nbsp;<a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a>&nbsp;alignedTo(org.joda.time.Duration&nbsp;size)</pre>
+<div class="block">Aligns the time to be the smallest multiple of <code>size</code> greater than the timestamp
+ since the epoch.</div>
+</li>
+</ul>
+<a name="plusDelayOf-org.joda.time.Duration-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>plusDelayOf</h4>
+<pre>public&nbsp;<a href="../../../../../../org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" title="class in org.apache.beam.runners.core.triggers">AfterDelayFromFirstElementStateMachine</a>&nbsp;plusDelayOf(org.joda.time.Duration&nbsp;delay)</pre>
+<div class="block">Adds some delay to the original target time.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>delay</code> - the delay to add</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>An updated time trigger that will wait the additional time before firing.</dd>
+</dl>
+</li>
+</ul>
+<a name="isCompatible-org.apache.beam.runners.core.triggers.TriggerStateMachine-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isCompatible</h4>
+<pre>public&nbsp;boolean&nbsp;isCompatible(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a>&nbsp;other)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#isCompatible-org.apache.beam.runners.core.triggers.TriggerStateMachine-">TriggerStateMachine</a></code></span></div>
+<div class="block">Returns whether this performs the same triggering as the given <code>Trigger</code>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#isCompatible-org.apache.beam.runners.core.triggers.TriggerStateMachine-">isCompatible</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="prefetchOnElement-org.apache.beam.sdk.util.state.StateAccessor-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>prefetchOnElement</h4>
+<pre>public&nbsp;void&nbsp;prefetchOnElement(<a href="../../../../../../org/apache/beam/sdk/util/state/StateAccessor.html" title="interface in org.apache.beam.sdk.util.state">StateAccessor</a>&lt;?&gt;&nbsp;state)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#prefetchOnElement-org.apache.beam.sdk.util.state.StateAccessor-">TriggerStateMachine</a></code></span></div>
+<div class="block">Called to allow the trigger to prefetch any state it will likely need to read from during
+ an <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onElement-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext-"><code>TriggerStateMachine.onElement(org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext)</code></a> call.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#prefetchOnElement-org.apache.beam.sdk.util.state.StateAccessor-">prefetchOnElement</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="onElement-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>onElement</h4>
+<pre>public&nbsp;void&nbsp;onElement(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnElementContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnElementContext</a>&nbsp;c)
+               throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onElement-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext-">TriggerStateMachine</a></code></span></div>
+<div class="block">Called every time an element is incorporated into a window.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onElement-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnElementContext-">onElement</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="prefetchOnMerge-org.apache.beam.sdk.util.state.MergingStateAccessor-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>prefetchOnMerge</h4>
+<pre>public&nbsp;void&nbsp;prefetchOnMerge(<a href="../../../../../../org/apache/beam/sdk/util/state/MergingStateAccessor.html" title="interface in org.apache.beam.sdk.util.state">MergingStateAccessor</a>&lt;?,?&gt;&nbsp;state)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#prefetchOnMerge-org.apache.beam.sdk.util.state.MergingStateAccessor-">TriggerStateMachine</a></code></span></div>
+<div class="block">Called to allow the trigger to prefetch any state it will likely need to read from during
+ an <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-"><code>TriggerStateMachine.onMerge(org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext)</code></a> call.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#prefetchOnMerge-org.apache.beam.sdk.util.state.MergingStateAccessor-">prefetchOnMerge</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="onMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>onMerge</h4>
+<pre>public&nbsp;void&nbsp;onMerge(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnMergeContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnMergeContext</a>&nbsp;c)
+             throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-">TriggerStateMachine</a></code></span></div>
+<div class="block">Called immediately after windows have been merged.
+
+ <p>Leaf triggers should update their state by inspecting their status and any state in the
+ merging windows. Composite triggers should update their state by calling <a href="../../../../../../org/apache/beam/runners/core/triggers/ExecutableTriggerStateMachine.html#invokeOnMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-"><code>ExecutableTriggerStateMachine.invokeOnMerge(org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext)</code></a> on their sub-triggers, and applying appropriate
+ logic.
+
+ <p>A trigger such as <a href="../../../../../../org/apache/beam/runners/core/triggers/AfterWatermarkStateMachine.html#pastEndOfWindow--"><code>AfterWatermarkStateMachine.pastEndOfWindow()</code></a> may no longer be
+ finished; it is the responsibility of the trigger itself to record this fact. It is forbidden
+ for a trigger to become finished due to <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-"><code>TriggerStateMachine.onMerge(org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext)</code></a>, as it has not yet fired the pending
+ elements that led to it being ready to fire.
+
+ <p>The implementation does not need to clear out any state associated with the old windows.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#onMerge-org.apache.beam.runners.core.triggers.TriggerStateMachine.OnMergeContext-">onMerge</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="prefetchShouldFire-org.apache.beam.sdk.util.state.StateAccessor-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>prefetchShouldFire</h4>
+<pre>public&nbsp;void&nbsp;prefetchShouldFire(<a href="../../../../../../org/apache/beam/sdk/util/state/StateAccessor.html" title="interface in org.apache.beam.sdk.util.state">StateAccessor</a>&lt;?&gt;&nbsp;state)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#prefetchShouldFire-org.apache.beam.sdk.util.state.StateAccessor-">TriggerStateMachine</a></code></span></div>
+<div class="block">Called to allow the trigger to prefetch any state it will likely need to read from during
+ an <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#shouldFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-"><code>TriggerStateMachine.shouldFire(org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext)</code></a> call.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#prefetchShouldFire-org.apache.beam.sdk.util.state.StateAccessor-">prefetchShouldFire</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="clear-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>clear</h4>
+<pre>public&nbsp;void&nbsp;clear(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;c)
+           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#clear-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">TriggerStateMachine</a></code></span></div>
+<div class="block">Clear any state associated with this trigger in the given window.
+
+ <p>This is called after a trigger has indicated it will never fire again. The trigger system
+ keeps enough information to know that the trigger is finished, so this trigger should clear all
+ of its state.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#clear-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">clear</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="shouldFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>shouldFire</h4>
+<pre>public&nbsp;boolean&nbsp;shouldFire(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;context)
+                   throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#shouldFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">TriggerStateMachine</a></code></span></div>
+<div class="block">Returns <code>true</code> if the current state of the trigger indicates that its condition
+ is satisfied and it is ready to fire.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#shouldFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">shouldFire</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine</a></code></dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="onOnlyFiring-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>onOnlyFiring</h4>
+<pre>protected&nbsp;void&nbsp;onOnlyFiring(<a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.TriggerContext.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.TriggerContext</a>&nbsp;context)
+                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html#onOnlyFiring-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">TriggerStateMachine.OnceTriggerStateMachine</a></code></span></div>
+<div class="block">Called exactly once by <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html#onFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-"><code>TriggerStateMachine.OnceTriggerStateMachine.onFire(org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext)</code></a> when the trigger is fired. By default,
+ invokes <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html#onFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-"><code>TriggerStateMachine.OnceTriggerStateMachine.onFire(org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext)</code></a> on all subtriggers for which <a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.html#shouldFire-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-"><code>TriggerStateMachine.shouldFire(org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext)</code></a> is <code>true</code>.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html#onOnlyFiring-org.apache.beam.runners.core.triggers.TriggerStateMachine.TriggerContext-">onOnlyFiring</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../../org/apache/beam/runners/core/triggers/TriggerStateMachine.OnceTriggerStateMachine.html" title="class in org.apache.beam.runners.core.triggers">TriggerStateMachine.OnceTriggerStateMachine</a></code></dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="computeTargetTimestamp-org.joda.time.Instant-">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>computeTargetTimestamp</h4>
+<pre>protected&nbsp;org.joda.time.Instant&nbsp;computeTargetTimestamp(org.joda.time.Instant&nbsp;time)</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!--   -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/AfterDelayFromFirstElementStateMachine.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterAllStateMachine.html" title="class in org.apache.beam.runners.core.triggers"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
+<li><a href="../../../../../../org/apache/beam/runners/core/triggers/AfterEachStateMachine.html" title="class in org.apache.beam.runners.core.triggers"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../index.html?org/apache/beam/runners/core/triggers/AfterDelayFromFirstElementStateMachine.html" target="_top">Frames</a></li>
+<li><a href="AfterDelayFromFirstElementStateMachine.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested.classes.inherited.from.class.org.apache.beam.runners.core.triggers.TriggerStateMachine">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>


Mime
View raw message