|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatefulSession
A stateful session represents a working memory which keeps state between invocations (accumulating facts/knowledge). Caution should be used when using the async methods (take note of the javadocs for specific methods). IMPORTANT: Remember to call dispose() when finished with this session.
| Method Summary | |
|---|---|
void |
dispose()
Forces the workingMemory to be disconnected from the rulebase (not calling this may cause resource leaks). |
void |
fireUntilHalt()
Keeps firing activations until a halt is called. |
void |
fireUntilHalt(AgendaFilter agendaFilter)
Keeps firing activations until a halt is called. |
List |
getRuleBaseUpdateListeners()
|
| Methods inherited from interface org.drools.core.WorkingMemoryEventManager |
|---|
addEventListener, addEventListener, getAgendaEventListeners, getWorkingMemoryEventListeners, removeEventListener, removeEventListener |
| Methods inherited from interface org.drools.core.RuleBaseEventManager |
|---|
addEventListener, getRuleBaseEventListeners, removeEventListener |
| Methods inherited from interface org.drools.core.WorkingMemoryEntryPoint |
|---|
insert, insert, retract, update |
| Methods inherited from interface org.kie.api.runtime.rule.SessionEntryPoint |
|---|
delete, getEntryPointId, getFactCount, getFactHandles, getFactHandles, getObjects, getObjects |
| Method Detail |
|---|
void dispose()
dispose in interface WorkingMemoryEntryPointList getRuleBaseUpdateListeners()
void fireUntilHalt()
IllegalStateException - if this method is called when running in sequential modevoid fireUntilHalt(AgendaFilter agendaFilter)
agendaFilter - filters the activations that may fire
IllegalStateException - if this method is called when running in sequential mode
|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||