| java.lang.Object org.drools.common.AbstractWorkingMemory
All known Subclasses: org.drools.reteoo.ReteooWorkingMemory,
Inner Class :public class RuleFlowDeactivateEvent | |
Method Summary | |
public void | addEventListener(WorkingMemoryEventListener listener) | public void | addEventListener(AgendaEventListener listener) | public void | addEventListener(RuleFlowEventListener listener) | public void | addLIANodePropagation(LIANodePropagation liaNodePropagation) | protected void | addPropertyChangeListener(Object object) | public void | clearActivationGroup(String group) | public void | clearAgenda() | public void | clearAgendaGroup(String group) | public void | clearNodeMemory(NodeMemory node) | public void | clearRuleFlowGroup(String group) | abstract public void | doInsert(InternalFactHandle factHandle, Object object, PropagationContext propagationContext) | abstract public void | doRetract(InternalFactHandle factHandle, PropagationContext propagationContext) | public void | executeQueuedActions() | public synchronized void | fireAllRules() | public synchronized void | fireAllRules(int fireLimit) | public synchronized void | fireAllRules(AgendaFilter agendaFilter) | public synchronized void | fireAllRules(AgendaFilter agendaFilter, int fireLimit) | public Entry[] | getActivationParameters(long activationId) | public Map | getActivationParameters(Activation activation) | public Agenda | getAgenda() | public List | getAgendaEventListeners() | public AgendaEventSupport | getAgendaEventSupport() | public FactHandle | getFactHandle(Object object) | public FactHandleFactory | getFactHandleFactory() | public ObjectHashMap | getFactHandleMap() | public AgendaGroup | getFocus() | public Object | getGlobal(String identifier) | public GlobalResolver | getGlobalResolver() | public long | getId() | public Lock | getLock() | public long | getNextPropagationIdCounter() | public Object | getNodeMemory(NodeMemory node) Retrieve the JoinMemory for a particular
JoinNode .
Parameters: node - The JoinNode key. | public Object | getObject(FactHandle handle) Returns the fact Object for the given FactHandle . | abstract public QueryResults | getQueryResults(String query) | public RuleBase | getRuleBase() | public List | getRuleFlowEventListeners() | public RuleFlowEventSupport | getRuleFlowEventSupport() | public TruthMaintenanceSystem | getTruthMaintenanceSystem() | public List | getWorkingMemoryEventListeners() | public WorkingMemoryEventSupport | getWorkingMemoryEventSupport() | public void | halt() | public FactHandle | insert(Object object) | public FactHandle | insert(Object object, boolean dynamic) | public FactHandle | insert(Object object, boolean dynamic, boolean logical, Rule rule, Activation activation) | public FactHandle | insertLogical(Object object) | public FactHandle | insertLogical(Object object, boolean dynamic) | public boolean | isSequential() | public Iterator | iterateFactHandles() | public Iterator | iterateFactHandles(ObjectFilter filter) | public Iterator | iterateObjects() | public Iterator | iterateObjects(ObjectFilter filter) | public List | iterateObjectsToList() | public void | modifyInsert(FactHandle factHandle, Object object) | public void | modifyInsert(FactHandle factHandle, Object object, Rule rule, Activation activation) | public void | modifyRetract(FactHandle factHandle) | public void | modifyRetract(FactHandle factHandle, Rule rule, Activation activation) | public void | propertyChange(PropertyChangeEvent event) | public void | queueWorkingMemoryAction(WorkingMemoryAction action) | public void | removeEventListener(WorkingMemoryEventListener listener) | public void | removeEventListener(AgendaEventListener listener) | public void | removeEventListener(RuleFlowEventListener listener) | public void | removeLogicalDependencies(Activation activation, PropagationContext context, Rule rule) | protected void | removePropertyChangeListener(FactHandle handle) | public void | retract(FactHandle handle) | public void | retract(FactHandle factHandle, boolean removeLogical, boolean updateEqualsMap, Rule rule, Activation activation) | public void | setAgendaEventSupport(AgendaEventSupport agendaEventSupport) | public void | setAsyncExceptionHandler(AsyncExceptionHandler handler) Sets the AsyncExceptionHandler to handle exceptions thrown by the Agenda
Scheduler used for duration rules. | public void | setFocus(String focus) | public void | setFocus(AgendaGroup focus) | public void | setGlobal(String identifier, Object value) | public void | setGlobalResolver(GlobalResolver globalResolver) | void | setRuleBase(InternalRuleBase ruleBase) | public void | setRuleFlowEventSupport(RuleFlowEventSupport ruleFlowEventSupport) | public void | setWorkingMemoryEventSupport(WorkingMemoryEventSupport workingMemoryEventSupport) | public ProcessInstance | startProcess(String processId) | public void | update(FactHandle handle, Object object) | public void | update(FactHandle factHandle, Object object, Rule rule, Activation activation) modify is implemented as half way retract / assert due to the truth
maintenance issues. |
ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES | final protected static Class[] ADD_REMOVE_PROPERTY_CHANGE_LISTENER_ARG_TYPES(Code) | | |
addRemovePropertyChangeListenerArgs | final protected Object[] addRemovePropertyChangeListenerArgs(Code) | | The arguments used when adding/removing a property change listener.
|
discardOnLogicalOverride | final protected boolean discardOnLogicalOverride(Code) | | |
firing | protected boolean firing(Code) | | Flag to determine if a rule is currently being fired.
|
globalResolver | protected GlobalResolver globalResolver(Code) | | Global values which are associated with this memory.
|
halt | protected boolean halt(Code) | | |
id | final protected long id(Code) | | |
propagationIdCounter | protected long propagationIdCounter(Code) | | |
ruleBase | protected transient InternalRuleBase ruleBase(Code) | | The RuleBase with which this memory is associated.
|
addPropertyChangeListener | protected void addPropertyChangeListener(Object object)(Code) | | |
clearActivationGroup | public void clearActivationGroup(String group)(Code) | | |
clearAgenda | public void clearAgenda()(Code) | | |
clearAgendaGroup | public void clearAgendaGroup(String group)(Code) | | |
clearRuleFlowGroup | public void clearRuleFlowGroup(String group)(Code) | | |
executeQueuedActions | public void executeQueuedActions()(Code) | | |
getActivationParameters | public Entry[] getActivationParameters(long activationId)(Code) | | |
getActivationParameters | public Map getActivationParameters(Activation activation)(Code) | | Helper method
|
getAgendaEventListeners | public List getAgendaEventListeners()(Code) | | |
getFactHandleMap | public ObjectHashMap getFactHandleMap()(Code) | | This is an internal method, used to avoid java.util.Iterator adaptors
|
getId | public long getId()(Code) | | |
getNextPropagationIdCounter | public long getNextPropagationIdCounter()(Code) | | |
getNodeMemory | public Object getNodeMemory(NodeMemory node)(Code) | | Retrieve the JoinMemory for a particular
JoinNode .
Parameters: node - The JoinNode key. The node's memory. |
getObject | public Object getObject(FactHandle handle)(Code) | | Returns the fact Object for the given FactHandle . It
actually attemps to return the value from the handle, before retrieving
it from objects map.
See Also: WorkingMemory Parameters: handle - The FactHandle reference for theObject lookup |
getRuleFlowEventListeners | public List getRuleFlowEventListeners()(Code) | | |
getWorkingMemoryEventListeners | public List getWorkingMemoryEventListeners()(Code) | | |
isSequential | public boolean isSequential()(Code) | | |
iterateFactHandles | public Iterator iterateFactHandles()(Code) | | This class is not thread safe, changes to the working memory during iteration may give unexpected results
|
iterateFactHandles | public Iterator iterateFactHandles(ObjectFilter filter)(Code) | | This class is not thread safe, changes to the working memory during iteration may give unexpected results
|
iterateObjects | public Iterator iterateObjects()(Code) | | This class is not thread safe, changes to the working memory during iteration may give unexpected results
|
iterateObjects | public Iterator iterateObjects(ObjectFilter filter)(Code) | | This class is not thread safe, changes to the working memory during iteration may give unexpected results
|
iterateObjectsToList | public List iterateObjectsToList()(Code) | | |
removePropertyChangeListener | protected void removePropertyChangeListener(FactHandle handle)(Code) | | |
setAsyncExceptionHandler | public void setAsyncExceptionHandler(AsyncExceptionHandler handler)(Code) | | Sets the AsyncExceptionHandler to handle exceptions thrown by the Agenda
Scheduler used for duration rules.
Parameters: handler - |
|
|