站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

ReteooStatefulSession (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.reteoo
Class ReteooStatefulSession

java.lang.Object
  extended by org.drools.common.AbstractWorkingMemory
      extended by org.drools.reteoo.ReteooWorkingMemory
          extended by org.drools.reteoo.ReteooStatefulSession
All Implemented Interfaces:
PropertyChangeListener, Serializable, EventListener, EventSupport, InternalWorkingMemory, InternalWorkingMemoryActions, StatefulSession, WorkingMemory

public class ReteooStatefulSession
extends ReteooWorkingMemory
implements StatefulSession

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.drools.reteoo.ReteooWorkingMemory
ReteooWorkingMemory.WorkingMemoryReteAssertAction
 
Nested classes/interfaces inherited from class org.drools.common.AbstractWorkingMemory
AbstractWorkingMemory.RuleFlowDeactivateEvent
 
Field Summary
 
Fields inherited from class org.drools.common.AbstractWorkingMemory
actionQueue, ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES, addRemovePropertyChangeListenerArgs, agenda, agendaEventSupport, discardOnLogicalOverride, firing, globalResolver, globals, handleFactory, id, lock, nodeMemories, NULL, propagationIdCounter, queryResults, ruleBase, tms, workingMemoryEventSupport
 
Constructor Summary
ReteooStatefulSession(int id, InternalRuleBase ruleBase, ExecutorService executorService)
           
 
Method Summary
 Future asyncAssertObject(Object object)
           
 Future asyncAssertObjects(List list)
           
 Future asyncAssertObjects(Object[] list)
           
 Future asyncFireAllRules()
           
 Future asyncFireAllRules(AgendaFilter agendaFilter)
           
 Future asyncModifyObject(FactHandle factHandle, Object object)
           
 Future asyncRetractObject(FactHandle factHandle)
           
 void dispose()
          Forces the workingMemory to be derefenced from
 
Methods inherited from class org.drools.reteoo.ReteooWorkingMemory
doAssertObject, doRetract, getQueryResults
 
Methods inherited from class org.drools.common.AbstractWorkingMemory
addEventListener, addEventListener, addPropertyChangeListener, assertLogicalObject, assertLogicalObject, assertObject, assertObject, assertObject, clearAgenda, clearAgendaGroup, clearNodeMemory, executeQueuedActions, fireAllRules, fireAllRules, getAgenda, getAgendaEventListeners, getAgendaEventSupport, getFactHandle, getFactHandleFactory, getFactHandleMap, getFocus, getGlobal, getGlobals, getId, getLock, getNextPropagationIdCounter, getNodeMemory, getObject, getRuleBase, getTruthMaintenanceSystem, getWorkingMemoryEventListeners, getWorkingMemoryEventSupport, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, iterateObjectsToList, modifyObject, modifyObject, propertyChange, queueWorkingMemoryAction, removeEventListener, removeEventListener, removeLogicalDependencies, removePropertyChangeListener, retractObject, retractObject, setAsyncExceptionHandler, setFocus, setFocus, setGlobal, setGlobalResolver, startProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.WorkingMemory
addEventListener, addEventListener, assertObject, assertObject, clearAgenda, clearAgendaGroup, fireAllRules, fireAllRules, getAgenda, getAgendaEventListeners, getFactHandle, getFocus, getGlobal, getGlobals, getObject, getQueryResults, getRuleBase, getWorkingMemoryEventListeners, iterateFactHandles, iterateFactHandles, iterateObjects, iterateObjects, modifyObject, removeEventListener, removeEventListener, retractObject, setAsyncExceptionHandler, setFocus, setFocus, setGlobal, setGlobalResolver, startProcess
 

Constructor Detail

ReteooStatefulSession

public ReteooStatefulSession(int id,
                             InternalRuleBase ruleBase,
                             ExecutorService executorService)
Method Detail

asyncAssertObject

public Future asyncAssertObject(Object object)
Specified by:
asyncAssertObject in interface StatefulSession

asyncRetractObject

public Future asyncRetractObject(FactHandle factHandle)
Specified by:
asyncRetractObject in interface StatefulSession

asyncModifyObject

public Future asyncModifyObject(FactHandle factHandle,
                                Object object)
Specified by:
asyncModifyObject in interface StatefulSession

asyncAssertObjects

public Future asyncAssertObjects(Object[] list)
Specified by:
asyncAssertObjects in interface StatefulSession

asyncAssertObjects

public Future asyncAssertObjects(List list)
Specified by:
asyncAssertObjects in interface StatefulSession

asyncFireAllRules

public Future asyncFireAllRules(AgendaFilter agendaFilter)
Specified by:
asyncFireAllRules in interface StatefulSession

asyncFireAllRules

public Future asyncFireAllRules()
Specified by:
asyncFireAllRules in interface StatefulSession

dispose

public void dispose()
Description copied from interface: StatefulSession
Forces the workingMemory to be derefenced from

Specified by:
dispose in interface StatefulSession


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.