A time based eviction queue is simply a queue that evicts its content based upon time-based heuristic. So the WorkingMemoryEventListener would store facts inserted into the WorkingMemory in an internal queue and evict them from that queue based upon some time-based heuristic. You could use an Executor (ScheduledExecutorService) etc to remove facts from the queue and working memory at set intervals.

With kind regards,

Mike

On 11 November 2010 22:31, Ayush <ayush.vatsyayan@alcatel-lucent.com> wrote:

Can you please elaborate on "Have it store each inserted object in a
time based eviction queue and it'll remove things for you." i.e. how can I
do it?
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Removing-facts-from-statefulknowledgeSession-s-memory-tp1875795p1885760.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users