[rules-users] scheduled starting of a ruleflow-group / drools fusion docs

Edson Tirelli tirelli at post.com
Sun Feb 1 15:55:03 EST 2009


   I started writing fusion docs a couple days ago. You can follow the
progress through hudson builds or checking out the source code from svn.

   Regarding your question, clock ticks are an abstract concept that depends
on the clock implementation you are using. Since I wrote the test case you
saw, I added support for proper time units, and as so, I recommend you use
them. So, if you want to create a sliding window of 1 hour 30 min and 15
seconds, for instance, just do:

StockTick( symbol == "RHAT" ) over window:time( 1h30m15s )

   I did not wrote that part of the docs yet, and in case anyone want to
help, it would be most welcome.

   []s
   Edson

2009/2/1 Trägenap <traegenap at ttc-informatik.de>

> Hi,
>
> 2 questions:
>
> 1. I want to start a ruleflow-group for e.g. only once a day? I am not
> interested in the pattern matches during the complete day, just interested
> in the result of the single computation. My ruleflow-group is ordered using
> a salience, the final/last rule should be processed once a day, repeating at
> the next day, and so on...
>
> I found the example like this
>
> StockTick( symbol == "RHAT" ) over window:time( 60 )
>
> (...that happened in the last 60 clock ticks...)
>
> What is declared as "clock ticks"?
>
>
> 2. I guess that drools fusion can solve my problem, is some more detailed
> doc available at this moment? (more than the ´pure´ headlines containing doc
> I found everywhere?)
>
> Thanks for advice, including just giving keywords!
>
> Thorsten
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090201/d00e2904/attachment.html 


More information about the rules-users mailing list