[rules-users] CEP : explicit @expires() vs window
radai.rosenblatt
radai.rosenblatt at gmail.com
Mon Jun 6 02:54:20 EDT 2011
if i have the followng drl code:
package contrived.example
import contrived.example.Event
import contrived.example.Fact
declare Event
@role(event)
@expires(10s)
end
rule "match event with fact"
when
Fact($id : id)
Event (factId==$id) over window:time(15m) from entry-point "Event
Stream"
then
//do nothing
end
how long should an Event live in memory? 10 seconds or 15 minutes?
--
View this message in context: http://drools.46999.n3.nabble.com/CEP-explicit-expires-vs-window-tp3028871p3028871.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list