fined
in the rule, and the current transaction timestamp, how far back in
time our evaluation should span.</p>
</li>
<li>
<p>The aggregate value is calculated by iterating over all window state
entries and applying an aggregate function. It could be an <em>average,
max, min</em> or, as in the example rule from the beginning of this
section, a <em>sum</em>.</p>
</li>
</ol>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-java" data-lang="java"><span class="line"><span class="cl">