[rules-users] SlidingTimeWindow$BehaviorExpireWMAction

Andre morpheusandre at web.de
Wed Jul 13 02:24:42 EDT 2011


of course, it is , what does it mean in the context of this rule?
the sliding windows expires, where ?  while processing the arraylist ?
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.



More information about the rules-users mailing list