org.drools.core.common
Class ConcurrentNodeMemories
java.lang.Object
org.drools.core.common.ConcurrentNodeMemories
- All Implemented Interfaces:
- NodeMemories
public class ConcurrentNodeMemories
- extends Object
- implements NodeMemories
A concurrent implementation for the node memories interface
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcurrentNodeMemories
public ConcurrentNodeMemories(InternalRuleBase rulebase)
clearNodeMemory
public void clearNodeMemory(MemoryFactory node)
- Specified by:
clearNodeMemory in interface NodeMemories
- See Also:
org.kie.common.NodeMemories#clearNodeMemory(org.kie.common.MemoryFactory)
clear
public void clear()
- Specified by:
clear in interface NodeMemories
getNodeMemory
public Memory getNodeMemory(MemoryFactory node,
InternalWorkingMemory wm)
- Specified by:
getNodeMemory in interface NodeMemories
- See Also:
org.kie.common.NodeMemories#getNodeMemory(org.kie.common.MemoryFactory)
setRuleBaseReference
public void setRuleBaseReference(InternalRuleBase ruleBase)
- Specified by:
setRuleBaseReference in interface NodeMemories
peekNodeMemory
public Memory peekNodeMemory(int nodeId)
- Description copied from interface:
NodeMemories
- Peeks at the content of the node memory for the given
node ID. This method has no side effects, so if the
given memory slot for the given node ID is null, it
will return null.
- Specified by:
peekNodeMemory in interface NodeMemories
- Returns:
length
public int length()
- Description copied from interface:
NodeMemories
- Returns the number of positions in this memory
- Specified by:
length in interface NodeMemories
- Returns:
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.