public class ConcurrentNodeMemories extends Object implements NodeMemories
| Constructor and Description |
|---|
ConcurrentNodeMemories(InternalKnowledgeBase kBase) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearNodeMemory(MemoryFactory node) |
Memory |
getNodeMemory(MemoryFactory node,
InternalWorkingMemory wm)
The implementation tries to delay locking as much as possible, by running
some potentially unsafe operations out of the critical session.
|
int |
length()
Returns the number of positions in this memory
|
Memory |
peekNodeMemory(int nodeId)
Peeks at the content of the node memory for the given
node ID.
|
void |
resetAllMemories(org.kie.internal.runtime.StatefulKnowledgeSession session) |
void |
setKnowledgeBaseReference(InternalKnowledgeBase kBase) |
public ConcurrentNodeMemories(InternalKnowledgeBase kBase)
public void clearNodeMemory(MemoryFactory node)
clearNodeMemory in interface NodeMemoriespublic void clear()
clear in interface NodeMemoriespublic void resetAllMemories(org.kie.internal.runtime.StatefulKnowledgeSession session)
resetAllMemories in interface NodeMemoriespublic Memory getNodeMemory(MemoryFactory node, InternalWorkingMemory wm)
getNodeMemory in interface NodeMemoriespublic void setKnowledgeBaseReference(InternalKnowledgeBase kBase)
setKnowledgeBaseReference in interface NodeMemoriespublic Memory peekNodeMemory(int nodeId)
NodeMemoriespeekNodeMemory in interface NodeMemoriespublic int length()
NodeMemorieslength in interface NodeMemoriesCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.