|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkingMemoryMarker
A WorkingMemoryMarker is a "memento" that records the state of working memory.
Calling Rete.mark()
returns an object that implements this interface, which you must save.
By calling Rete.resetToMark(jess.WorkingMemoryMarker)
and passing back the same object, you can retract all facts asserted since the marker was
created.
Rete.mark()
,
Rete.resetToMark(jess.WorkingMemoryMarker)
Method Summary | |
---|---|
void |
restore(Rete engine)
This method is responsible for restoring working memory state. |
Method Detail |
---|
void restore(Rete engine) throws JessException
engine
- the rule engine
JessException
- if anything goes wrong
|
© 2013 Sandia Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |