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.WorkingMemoryReteExpireAction
agenda, agendaEventSupport, bytes, calendars, config, dateFormats, defaultEntryPoint, entryPoints, 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, flushPropagationsOnFireUntilHalt, flushPropagationsOnFireUntilHalt, 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, 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, getQueryResults, getRuleEventListeners, getRuleRuntimeEventListeners, getRuleRuntimeEventSupport, getSessionClock, getSessionConfiguration, getTimerService, getTimeToNextJob, getTotalFactCount, getWorkingMemoryEntryPoints, getWorkItemManager, halt, hasPendingPropagations, initInitialFact, insert, insert, insert, insert, insertLogical, insertLogical, insertLogical, isAlive, isSequential, iterateFactHandles, iterateFactHandles, iterateNonDefaultEntryPointObjectsToList, iterateObjects, iterateObjects, iterateObjectsToList, notifyEngineInactive, notifyHalt, openLiveQuery, prepareToFireActivation, readExternal, registerChannel, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removeEventListener, retract, setAgendaEventSupport, setAsyncExceptionHandler, setEndOperationListener, setFocus, setGlobal, setGlobalResolver, setId, setInitialFactHandle, setRuleRuntimeEventSupport, signalEvent, signalEvent, startBatchExecution, startOperation, startProcess, startProcess, startProcess, startProcessInstance, takeAllPropagations, unregisterChannel, update, update, update, updateEntryPointsCache, updateTraits, writeExternal
public 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.StatefulKnowledgeSessionImpl
public void reset()
reset
in interface org.drools.core.common.InternalWorkingMemoryEntryPoint
reset
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public void reset(int handleId, long handleCounter, long propagationCounter)
reset
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public org.drools.core.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint(String name)
getWorkingMemoryEntryPoint
in interface org.drools.core.WorkingMemory
getWorkingMemoryEntryPoint
in interface org.drools.core.WorkingMemoryEntryPoint
getWorkingMemoryEntryPoint
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public 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.StatefulRuleSession
fireUntilHalt
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public int fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter, int fireLimit)
fireAllRules
in interface org.drools.core.WorkingMemory
fireAllRules
in interface org.kie.api.runtime.rule.StatefulRuleSession
fireAllRules
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public void closeLiveQuery(org.drools.core.common.InternalFactHandle factHandle)
closeLiveQuery
in interface org.drools.core.common.InternalWorkingMemory
closeLiveQuery
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
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)
evalQuery
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public Collection<org.drools.core.common.WorkingMemoryAction> getActionQueue()
public void queueWorkingMemoryAction(org.drools.core.common.WorkingMemoryAction action)
queueWorkingMemoryAction
in interface org.drools.core.common.InternalKnowledgeRuntime
queueWorkingMemoryAction
in interface org.drools.core.common.InternalWorkingMemory
queueWorkingMemoryAction
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public void addPropagation(org.drools.core.phreak.PropagationEntry propagationEntry)
addPropagation
in interface org.drools.core.common.InternalWorkingMemory
addPropagation
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public void executeQueuedActionsForRete()
executeQueuedActionsForRete
in interface org.drools.core.common.InternalWorkingMemory
executeQueuedActionsForRete
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
public Iterator<? extends org.drools.core.phreak.PropagationEntry> getActionsIterator()
getActionsIterator
in interface org.drools.core.common.InternalWorkingMemory
getActionsIterator
in class org.drools.core.impl.StatefulKnowledgeSessionImpl
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.