<div dir="ltr">no, actually i think the problem is because, i create a new session once in 10 seconds and dispose it off. so when i create the first two files in first 10 seconds , the session is disposed, and in the next session the next two files are created and disposed.. like this it goes.. so when i create more than 4 files all at the same instant it falls under the same session and the sliding window works.. <div>
could this be the problem?</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 5:28 PM, Davide Sottara <span dir="ltr">&lt;<a href="mailto:dsotty@gmail.com" target="_blank">dsotty@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>It is possible to declare sliding
      windows<br>
      <br>
      A possible problem (I didn&#39;t check the logic) is that<br>
      you are not inserting the new Events you create.<div><div class="h5"><br>
      <br>
      <br>
      <br>
      On 03/17/2014 12:13 PM, Sandhya Sree wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">i found this type of declaration in a site and
        thought this is allowed..
        <div>also it doesnt throw any compilation error and works the
          same way as declared like this:</div>
        <div><br>
        </div>
        <div>accumulate( $e :Event (name == &quot;new file added&quot;) <b>over
            window : time(1m)</b>, count($e)<br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Mar 17, 2014 at 4:23 PM,
          Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>On 17/03/2014, Sandhya Sree &lt;<a href="mailto:sandhyachinnaraj@gmail.com" target="_blank">sandhyachinnaraj@gmail.com</a>&gt;
              wrote:<br>
              <br>
              &gt; declare window Ticks<br>
              &gt;     Event()<br>
              &gt;         over window:time(1m )<br>
              &gt; end<br>
              <br>
            </div>
            Is there any documentation snippet that says you can declare
            a fact<br>
            (not even an event) like this, restricting its existence?<br>
            <br>
            If not, why does this not cause an compilation error?<br>
            <br>
            -W<br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
            <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
rules-users mailing list
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div>