org.drools.reteoo
Class Scheduler

java.lang.Object
  extended byorg.drools.reteoo.Scheduler

final class Scheduler
extends Object

Scheduler for rules requiring truth duration.

Author:
bob mcwhirter

Method Summary
(package private)  void cancelAgendaItem(AgendaItem item)
          Cancel an agenda item.
(package private) static Scheduler getInstance()
          Retrieve the singleton instance.
(package private)  void scheduleAgendaItem(AgendaItem item, WorkingMemoryImpl workingMemory)
          Schedule an agenda item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

static Scheduler getInstance()
Retrieve the singleton instance.

Returns:
The singleton instance.

scheduleAgendaItem

void scheduleAgendaItem(AgendaItem item,
                        WorkingMemoryImpl workingMemory)
Schedule an agenda item.

Parameters:
item - The item to schedule.
workingMemory - The working memory session.

cancelAgendaItem

void cancelAgendaItem(AgendaItem item)
Cancel an agenda item.

Parameters:
item - The item to cancle.


Copyright © 2001-2004 The Codehaus. All Rights Reserved.