org.drools.common
Interface InternalWorkingMemory
- All Superinterfaces:
- RuleBaseEventManager, java.io.Serializable, WorkingMemory, WorkingMemoryEventManager
- All Known Subinterfaces:
- InternalWorkingMemoryActions
- All Known Implementing Classes:
- AbstractWorkingMemory, ReteooStatefulSession, ReteooWorkingMemory
public interface InternalWorkingMemory
- extends WorkingMemory
Methods inherited from interface org.drools.WorkingMemory |
clearActivationGroup, clearAgenda, clearAgendaGroup, clearRuleFlowGroup, fireAllRules, fireAllRules, fireAllRules, fireAllRules, getAgenda, getFactHandle, getFocus, getGlobal, getGlobalResolver, getObject, getQueryResults, getQueryResults, getRuleBase, halt, insert, insert, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, modifyInsert, modifyRetract, retract, setAsyncExceptionHandler, setFocus, setFocus, setGlobal, setGlobalResolver, startProcess, update |
getId
long getId()
setId
void setId(long id)
setRuleBase
void setRuleBase(InternalRuleBase ruleBase)
setWorkingMemoryEventSupport
void setWorkingMemoryEventSupport(WorkingMemoryEventSupport workingMemoryEventSupport)
getAssertMap
ObjectHashMap getAssertMap()
setAgendaEventSupport
void setAgendaEventSupport(AgendaEventSupport agendaEventSupport)
setRuleFlowEventSupport
void setRuleFlowEventSupport(RuleFlowEventSupport ruleFlowEventSupport)
getNodeMemory
java.lang.Object getNodeMemory(NodeMemory node)
clearNodeMemory
void clearNodeMemory(NodeMemory node)
getNextPropagationIdCounter
long getNextPropagationIdCounter()
getFactHandleMap
ObjectHashMap getFactHandleMap()
getTruthMaintenanceSystem
TruthMaintenanceSystem getTruthMaintenanceSystem()
executeQueuedActions
void executeQueuedActions()
queueWorkingMemoryAction
void queueWorkingMemoryAction(WorkingMemoryAction action)
getFactHandleFactory
FactHandleFactory getFactHandleFactory()
getFactHandleByIdentity
FactHandle getFactHandleByIdentity(java.lang.Object object)
- Looks for the fact handle associated to the given object
by looking up the object IDENTITY (==), even if rule base
is configured to AssertBehavior.EQUALITY.
- Parameters:
object
-
- Returns:
- null if fact handle not found
removeLogicalDependencies
void removeLogicalDependencies(Activation activation,
PropagationContext context,
Rule rule)
throws FactException
- Throws:
FactException
retract
void retract(FactHandle factHandle,
boolean removeLogical,
boolean updateEqualsMap,
Rule rule,
Activation activation)
throws FactException
- Throws:
FactException
getLock
Lock getLock()
isSequential
boolean isSequential()
addLIANodePropagation
void addLIANodePropagation(LIANodePropagation liaNodePropagation)
getExecutorService
ExecutorService getExecutorService()
setExecutorService
void setExecutorService(ExecutorService executor)