[rules-users] SlidingTimeWindow$BehaviorExpireWMAction
Wolfgang Laun
wolfgang.laun at gmail.com
Wed Jul 13 02:59:30 EDT 2011
On 13 July 2011 08:24, Andre <morpheusandre at web.de> wrote:
> of course, it is , what does it mean in the context of this rule?
> the sliding windows expires, where ? while processing the arraylist ?
>
No telling without the full stack dump and sufficient code and data to
reproduce. At least the accumulate function and ResourceMatch would be
required, and how events are inserted.
Short questions are bound to produce short answers.
-W
> rule "Request counting analysed Resources By Id"
> when
> $list: ArrayList()
> from accumulate($neu : RequestCtx() over
> window:time(1m),countMatchingAnalysedResourcesInRequest($neu) )
> ResourceMatch( $id: uri, count > 1 ) from $list
> then
> System.out.println( "Id " + $id.toString() + ": " );
> System.out.println("Request counting Resources By Id Rule Workss");
> channels["AuthZBlocking"].send(new ItemCacheEntry(new
> Item((String)$id.toString()), new Date(System.currentTimeMillis()+ 8000)));
> end
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/SlidingTimeWindow-BehaviorExpireWMAction-tp3163096p3164991.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110713/31a3c6d3/attachment.html
More information about the rules-users
mailing list