|
Drools :: Core 6.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.common.ConcurrentNodeMemories
public class ConcurrentNodeMemories
A concurrent implementation for the node memories interface
| Constructor Summary | |
|---|---|
ConcurrentNodeMemories(InternalKnowledgeBase kBase)
|
|
| Method Summary | |
|---|---|
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 potentialy unsafe opperations 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConcurrentNodeMemories(InternalKnowledgeBase kBase)
| Method Detail |
|---|
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 NodeMemories
public Memory getNodeMemory(MemoryFactory node,
InternalWorkingMemory wm)
getNodeMemory in interface NodeMemoriespublic void setKnowledgeBaseReference(InternalKnowledgeBase kBase)
setKnowledgeBaseReference in interface NodeMemoriespublic Memory peekNodeMemory(int nodeId)
NodeMemories
peekNodeMemory in interface NodeMemoriespublic int length()
NodeMemories
length in interface NodeMemories
|
Drools :: Core 6.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||