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-BehaviorExpireWMActio...
Sent from the Drools: User forum mailing list archive at
Nabble.com.