org.drools.reteoo
Class ReteooWorkingMemory
java.lang.Object
org.drools.common.AbstractWorkingMemory
org.drools.reteoo.ReteooWorkingMemory
- All Implemented Interfaces:
- EventSupport, InternalWorkingMemory, InternalWorkingMemoryActions, InternalWorkingMemoryEntryPoint, org.drools.event.process.ProcessEventManager, RuleBaseEventManager, org.drools.runtime.rule.WorkingMemoryEntryPoint, WorkingMemory, WorkingMemoryEventManager
- Direct Known Subclasses:
- ReteooStatefulSession
public class ReteooWorkingMemory
- extends AbstractWorkingMemory
Implementation of WorkingMemory
.
Fields inherited from class org.drools.common.AbstractWorkingMemory |
__ruleBaseEventListeners, actionQueue, agenda, agendaEventSupport, calendars, config, dateFormats, defaultEntryPoint, discardOnLogicalOverride, entryPoints, evaluatingActionQueue, firing, globalResolver, handleFactory, id, initialFactHandle, lock, nodeMemories, partitionManager, propagationIdCounter, ruleBase, threadPool, tms, workingMemoryEventSupport |
Constructor Summary |
ReteooWorkingMemory()
|
ReteooWorkingMemory(int id,
InternalRuleBase ruleBase)
|
ReteooWorkingMemory(int id,
InternalRuleBase ruleBase,
FactHandleFactory handleFactory,
InternalFactHandle initialFactHandle,
long propagationContext,
SessionConfiguration config,
InternalAgenda agenda,
org.drools.runtime.Environment environment)
|
ReteooWorkingMemory(int id,
InternalRuleBase ruleBase,
SessionConfiguration config,
org.drools.runtime.Environment environment)
Construct. |
ReteooWorkingMemory(int id,
InternalRuleBase ruleBase,
SessionConfiguration config,
org.drools.runtime.Environment environment,
WorkingMemoryEventSupport workingMemoryEventSupport,
AgendaEventSupport agendaEventSupport)
|
Methods inherited from class org.drools.common.AbstractWorkingMemory |
activationFired, addEventListener, addEventListener, addEventListener, addEventListener, addLIANodePropagation, clearActivationGroup, clearAgenda, clearAgendaGroup, clearNodeMemory, clearRuleFlowGroup, createProcessInstance, dispose, endBatchExecution, endOperation, executeQueuedActions, fireAllRules, fireAllRules, fireAllRules, fireAllRules, fireUntilHalt, fireUntilHalt, getActionQueue, getActivationParameters, getActivationParameters, getAgenda, getAgendaEventListeners, getAgendaEventSupport, getCalendars, getChannels, getDateFormats, getEntryPointId, getEntryPointNode, getEntryPoints, getEnvironment, getExecutionResult, getExitPoints, getFactCount, getFactHandle, getFactHandleByIdentity, getFactHandleFactory, getGlobal, getGlobalResolver, getId, getIdleTime, getInitialFactHandle, getKnowledgeRuntime, getLastIdleTimestamp, getLock, getNextPropagationIdCounter, getNodeMemory, getObject, getObjectMarshallingStrategyStore, getObjectStore, getObjectTypeConfigurationRegistry, getPartitionTaskManager, getProcessEventListeners, getProcessInstance, getProcessInstances, getProcessRuntime, getPropagationIdCounter, getRuleBase, getRuleBaseEventListeners, getSessionClock, getSessionConfiguration, getTimerService, getTimeToNextJob, getTotalFactCount, getTruthMaintenanceSystem, getWorkingMemoryEntryPoint, getWorkingMemoryEntryPoints, getWorkingMemoryEventListeners, getWorkingMemoryEventSupport, getWorkItemManager, halt, insert, insert, insert, insert, insertLogical, insertLogical, isPartitionManagersActive, isSequential, iterateFactHandles, iterateFactHandles, iterateNonDefaultEntryPointObjectsToList, iterateObjects, iterateObjects, iterateObjectsToList, prepareToFireActivation, queueWorkingMemoryAction, registerChannel, registerExitPoint, removeEventListener, removeEventListener, removeEventListener, removeEventListener, reset, reset, retract, retract, setAgendaEventSupport, setAsyncExceptionHandler, setEndOperationListener, setFocus, setGlobal, setGlobalResolver, setId, setInitialFactHandle, setKnowledgeRuntime, setWorkingMemoryEventSupport, startBatchExecution, startOperation, startPartitionManagers, startProcess, startProcess, startProcessInstance, stopPartitionManagers, unregisterChannel, unregisterExitPoint, update, update, update, updateEntryPointsCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReteooWorkingMemory
public ReteooWorkingMemory()
ReteooWorkingMemory
public ReteooWorkingMemory(int id,
InternalRuleBase ruleBase)
ReteooWorkingMemory
public ReteooWorkingMemory(int id,
InternalRuleBase ruleBase,
SessionConfiguration config,
org.drools.runtime.Environment environment)
- Construct.
- Parameters:
ruleBase
- The backing rule-base.
ReteooWorkingMemory
public ReteooWorkingMemory(int id,
InternalRuleBase ruleBase,
SessionConfiguration config,
org.drools.runtime.Environment environment,
WorkingMemoryEventSupport workingMemoryEventSupport,
AgendaEventSupport agendaEventSupport)
ReteooWorkingMemory
public ReteooWorkingMemory(int id,
InternalRuleBase ruleBase,
FactHandleFactory handleFactory,
InternalFactHandle initialFactHandle,
long propagationContext,
SessionConfiguration config,
InternalAgenda agenda,
org.drools.runtime.Environment environment)
getQueryResults
public QueryResults getQueryResults(String query)
- Specified by:
getQueryResults
in class AbstractWorkingMemory
getQueryResults
public QueryResults getQueryResults(String queryName,
Object[] arguments)
- Description copied from interface:
WorkingMemory
- Retrieve the QueryResults of the specified query and arguments
- Parameters:
queryName
- The name of the query.arguments
- The arguments used for the query
- Returns:
- The QueryResults of the specified query.
If no results match the query it is empty.
openLiveQuery
public org.drools.runtime.rule.LiveQuery openLiveQuery(String query,
Object[] arguments,
org.drools.runtime.rule.ViewChangedEventListener listener)
closeLiveQuery
public void closeLiveQuery(InternalFactHandle factHandle)
getEntryPoint
public EntryPoint getEntryPoint()
getInternalWorkingMemory
public InternalWorkingMemory getInternalWorkingMemory()
getFactHandles
public <T extends org.drools.runtime.rule.FactHandle> Collection<T> getFactHandles()
getFactHandles
public <T extends org.drools.runtime.rule.FactHandle> Collection<T> getFactHandles(org.drools.runtime.ObjectFilter filter)
getObjects
public Collection<Object> getObjects()
getObjects
public Collection<Object> getObjects(org.drools.runtime.ObjectFilter filter)
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.