jess
Interface WorkingMemoryMarker


public interface WorkingMemoryMarker

A WorkingMemoryMarker is a "memento" that records the state of working memory. By calling Rete.resetToMark(jess.WorkingMemoryMarker), you can retract all facts asserted since the marker was created.

(C) 2006 Sandia National Laboratories

See Also:
Rete.mark(), Rete.resetToMark(jess.WorkingMemoryMarker)

Method Summary
 void restore(Rete engine)
          This method is responsible for restoring working memory state.
 

Method Detail

restore

public void restore(Rete engine)
             throws JessException
This method is responsible for restoring working memory state. This method is public only as an implementation detail -- there is no expectation that users will call this method or implement this interface themselves

Parameters:
engine - the rule engine
Throws:
JessException - if anything goes wrong

© 2007 Sandia Corporation