<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">All the context of a session, including
      the windows, goes away when the session is disposed.<br>
      In general, please try to post all your DRL and as much
      information you can on how the<br>
      sessions are built and managed. That makes it easier to understand
      what is going on.<br>
      Thanks!<br>
      <br>
      <br>
      On 03/18/2014 07:20 AM, Sandhya Sree wrote:<br>
    </div>
    <blockquote
cite="mid:CAJftt0F90fxrC3JTDUOoUYe23YqNxJR6uoCbM9h-JHqaxKsHbw@mail.gmail.com"
      type="cite">
      <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..&nbsp;
        <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 moz-do-not-send="true"
              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'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 == "new file
                        added") <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
                            moz-do-not-send="true"
                            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
                              moz-do-not-send="true"
                              href="mailto:sandhyachinnaraj@gmail.com"
                              target="_blank">sandhyachinnaraj@gmail.com</a>&gt;

                            wrote:<br>
                            <br>
                            &gt; declare window Ticks<br>
                            &gt; &nbsp; &nbsp; Event()<br>
                            &gt; &nbsp; &nbsp; &nbsp; &nbsp; 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 moz-do-not-send="true"
                            href="mailto:rules-users@lists.jboss.org"
                            target="_blank">rules-users@lists.jboss.org</a><br>
                          <a moz-do-not-send="true"
                            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 moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>