public class ReteWorkingMemory
extends org.drools.core.impl.StatefulKnowledgeSessionImpl
org.drools.core.impl.StatefulKnowledgeSessionImpl.AbstractImmutableCollection, org.drools.core.impl.StatefulKnowledgeSessionImpl.GlobalsAdapter, org.drools.core.impl.StatefulKnowledgeSessionImpl.ObjectStoreWrapper, org.drools.core.impl.StatefulKnowledgeSessionImpl.WorkingMemoryReteAssertAction, org.drools.core.impl.StatefulKnowledgeSessionImpl.WorkingMemoryReteExpireActionagenda, agendaEventSupport, bytes, calendars, config, dateFormats, defaultEntryPoint, entryPoints, evaluatingActionQueue, firing, globalResolver, handleFactory, id, initialFactHandle, kBase, kieBaseEventListeners, lock, pctxFactory, propagationIdCounter, propagationList, ruleEventListenerSupport, ruleRuntimeEventSupport| Constructor and Description |
|---|
ReteWorkingMemory() |
ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase) |
ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase,
boolean initInitFactHandle,
org.drools.core.SessionConfiguration config,
org.kie.api.runtime.Environment environment) |
ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase,
org.drools.core.spi.FactHandleFactory handleFactory,
org.drools.core.common.InternalFactHandle initialFactHandle,
long propagationContext,
org.drools.core.SessionConfiguration config,
org.kie.api.runtime.Environment environment,
org.drools.core.event.RuleRuntimeEventSupport workingMemoryEventSupport,
org.drools.core.event.AgendaEventSupport agendaEventSupport,
org.drools.core.event.RuleEventListenerSupport ruleEventListenerSupport,
org.drools.core.common.InternalAgenda agenda) |
ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase,
org.drools.core.spi.FactHandleFactory handleFactory,
long propagationContext,
org.drools.core.SessionConfiguration config,
org.drools.core.common.InternalAgenda agenda,
org.kie.api.runtime.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLIANodePropagation(org.drools.core.reteoo.LIANodePropagation liaNodePropagation) |
void |
addPropagation(org.drools.core.phreak.PropagationEntry propagationEntry) |
void |
closeLiveQuery(org.drools.core.common.InternalFactHandle factHandle) |
protected org.drools.core.common.BaseNode[] |
evalQuery(String queryName,
org.drools.core.base.DroolsQuery queryObject,
org.drools.core.common.InternalFactHandle handle,
org.drools.core.spi.PropagationContext pCtx) |
void |
executeQueuedActionsForRete() |
int |
fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter,
int fireLimit) |
void |
fireUntilHalt(org.kie.api.runtime.rule.AgendaFilter agendaFilter) |
Collection<org.drools.core.common.WorkingMemoryAction> |
getActionQueue() |
Iterator<? extends org.drools.core.phreak.PropagationEntry> |
getActionsIterator() |
org.drools.core.WorkingMemoryEntryPoint |
getWorkingMemoryEntryPoint(String name) |
protected void |
init() |
void |
initInitialFact() |
void |
queueWorkingMemoryAction(org.drools.core.common.WorkingMemoryAction action) |
void |
reset() |
void |
reset(int handleId,
long handleCounter,
long propagationCounter) |
abortProcessInstance, activationFired, addEventListener, addEventListener, addEventListener, addEventListener, addEventListener, checkAlive, clearActivationGroup, clearAgenda, clearAgendaGroup, clearNodeMemory, clearRuleFlowGroup, createProcessInstance, createProcessInstance, createRuntimeService, delete, delete, destroy, dispose, don, don, endBatchExecution, endOperation, execute, execute, executeQueuedActions, fireAllRules, fireAllRules, fireAllRules, fireUntilHalt, flushNonMarshallablePropagations, flushPropagations, getActivationParameters, getActivationParameters, getAgenda, getAgendaEventListeners, getAgendaEventSupport, getCalendars, getChannels, getDateFormats, getEntryPoint, getEntryPoint, getEntryPointId, getEntryPointMap, getEntryPointNode, getEntryPoints, getEnvironment, getExecutionResult, getFactCount, getFactHandle, getFactHandleByIdentity, getFactHandleFactory, getFactHandles, getFactHandles, getGlobal, getGlobalResolver, getGlobals, getHandleFactory, getId, getIdentifier, getIdleTime, getInitialFactHandle, getInternalWorkingMemory, getKieBase, getKieBaseEventListeners, getKieRuntime, getKnowledgeBase, getKnowledgeRuntime, getLastIdleTimestamp, getLock, getNextPropagationIdCounter, getNodeMemories, getNodeMemory, getObject, getObjectMarshallingStrategyStore, getObjects, getObjects, getObjectStore, getObjectTypeConfigurationRegistry, getProcessEventListeners, getProcessInstance, getProcessInstance, getProcessInstance, getProcessInstances, getProcessRuntime, getPropagationIdCounter, getQueryResults, getRuleEventListeners, getRuleRuntimeEventListeners, getRuleRuntimeEventSupport, getSessionClock, getSessionConfiguration, getTimerService, getTimeToNextJob, getTotalFactCount, getTruthMaintenanceSystem, getWorkingMemoryEntryPoints, getWorkItemManager, halt, hasPendingPropagations, initInitialFact, insert, insert, insert, insert, isAlive, isSequential, iterateFactHandles, iterateFactHandles, iterateNonDefaultEntryPointObjectsToList, iterateObjects, iterateObjects, iterateObjectsToList, openLiveQuery, prepareToFireActivation, readExternal, registerChannel, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removeGlobal, retract, setAgendaEventSupport, setAsyncExceptionHandler, setEndOperationListener, setFocus, setGlobal, setGlobalResolver, setId, setInitialFactHandle, setRuleRuntimeEventSupport, shed, signalEvent, signalEvent, startBatchExecution, startOperation, startProcess, startProcess, startProcess, startProcessInstance, unregisterChannel, update, update, update, updateEntryPointsCache, updateTraits, writeExternalpublic ReteWorkingMemory()
public ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase)
public ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase,
boolean initInitFactHandle,
org.drools.core.SessionConfiguration config,
org.kie.api.runtime.Environment environment)
public ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase,
org.drools.core.spi.FactHandleFactory handleFactory,
long propagationContext,
org.drools.core.SessionConfiguration config,
org.drools.core.common.InternalAgenda agenda,
org.kie.api.runtime.Environment environment)
public ReteWorkingMemory(long id,
org.drools.core.impl.InternalKnowledgeBase kBase,
org.drools.core.spi.FactHandleFactory handleFactory,
org.drools.core.common.InternalFactHandle initialFactHandle,
long propagationContext,
org.drools.core.SessionConfiguration config,
org.kie.api.runtime.Environment environment,
org.drools.core.event.RuleRuntimeEventSupport workingMemoryEventSupport,
org.drools.core.event.AgendaEventSupport agendaEventSupport,
org.drools.core.event.RuleEventListenerSupport ruleEventListenerSupport,
org.drools.core.common.InternalAgenda agenda)
protected void init()
init in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic void reset()
reset in interface org.drools.core.common.InternalWorkingMemoryEntryPointreset in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic void reset(int handleId,
long handleCounter,
long propagationCounter)
reset in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic org.drools.core.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint(String name)
getWorkingMemoryEntryPoint in interface org.drools.core.WorkingMemorygetWorkingMemoryEntryPoint in interface org.drools.core.WorkingMemoryEntryPointgetWorkingMemoryEntryPoint in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic void addLIANodePropagation(org.drools.core.reteoo.LIANodePropagation liaNodePropagation)
public void initInitialFact()
public void fireUntilHalt(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
fireUntilHalt in interface org.kie.api.runtime.rule.StatefulRuleSessionfireUntilHalt in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic int fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter,
int fireLimit)
fireAllRules in interface org.drools.core.WorkingMemoryfireAllRules in interface org.kie.api.runtime.rule.StatefulRuleSessionfireAllRules in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic void closeLiveQuery(org.drools.core.common.InternalFactHandle factHandle)
closeLiveQuery in interface org.drools.core.common.InternalWorkingMemorycloseLiveQuery in class org.drools.core.impl.StatefulKnowledgeSessionImplprotected org.drools.core.common.BaseNode[] evalQuery(String queryName, org.drools.core.base.DroolsQuery queryObject, org.drools.core.common.InternalFactHandle handle, org.drools.core.spi.PropagationContext pCtx)
evalQuery in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic Collection<org.drools.core.common.WorkingMemoryAction> getActionQueue()
public void queueWorkingMemoryAction(org.drools.core.common.WorkingMemoryAction action)
queueWorkingMemoryAction in interface org.drools.core.common.InternalKnowledgeRuntimequeueWorkingMemoryAction in interface org.drools.core.common.InternalWorkingMemoryqueueWorkingMemoryAction in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic void addPropagation(org.drools.core.phreak.PropagationEntry propagationEntry)
addPropagation in interface org.drools.core.common.InternalWorkingMemoryaddPropagation in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic void executeQueuedActionsForRete()
executeQueuedActionsForRete in interface org.drools.core.common.InternalWorkingMemoryexecuteQueuedActionsForRete in class org.drools.core.impl.StatefulKnowledgeSessionImplpublic Iterator<? extends org.drools.core.phreak.PropagationEntry> getActionsIterator()
getActionsIterator in interface org.drools.core.common.InternalWorkingMemorygetActionsIterator in class org.drools.core.impl.StatefulKnowledgeSessionImplCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.