public class RuleUnitsNodeMemories extends Object implements NodeMemories
| Constructor and Description |
|---|
RuleUnitsNodeMemories(InternalKnowledgeBase kBase) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindRuleUnit(StatefulKnowledgeSessionImpl session,
org.kie.api.runtime.rule.RuleUnit ruleUnit) |
void |
clear() |
void |
clearNodeMemory(MemoryFactory node) |
<T extends Memory> |
getNodeMemory(MemoryFactory<T> node,
InternalWorkingMemory wm) |
int |
length()
Returns the number of positions in this memory
|
Memory |
peekNodeMemory(int memoryId)
Peeks at the content of the node memory for the given
node ID.
|
void |
resetAllMemories(org.kie.internal.runtime.StatefulKnowledgeSession session) |
void |
unbindRuleUnit() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpeekNodeMemorypublic RuleUnitsNodeMemories(InternalKnowledgeBase kBase)
public void bindRuleUnit(StatefulKnowledgeSessionImpl session, org.kie.api.runtime.rule.RuleUnit ruleUnit)
public void unbindRuleUnit()
public <T extends Memory> T getNodeMemory(MemoryFactory<T> node, InternalWorkingMemory wm)
getNodeMemory in interface NodeMemoriespublic void clearNodeMemory(MemoryFactory node)
clearNodeMemory in interface NodeMemoriespublic void clear()
clear in interface NodeMemoriespublic Memory peekNodeMemory(int memoryId)
NodeMemoriespeekNodeMemory in interface NodeMemoriespublic int length()
NodeMemorieslength in interface NodeMemoriespublic void resetAllMemories(org.kie.internal.runtime.StatefulKnowledgeSession session)
resetAllMemories in interface NodeMemoriesCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.