Package org.drools.core.reteoo
Class BetaMemory
- java.lang.Object
-
- org.drools.core.util.AbstractBaseLinkedListNode<Memory>
-
- org.drools.core.reteoo.BetaMemory
-
- All Implemented Interfaces:
Memory,SegmentNodeMemory,Entry<Memory>,LinkedListNode<Memory>
public class BetaMemory extends AbstractBaseLinkedListNode<Memory> implements SegmentNodeMemory
-
-
Constructor Summary
Constructors Constructor Description BetaMemory()BetaMemory(TupleMemory tupleMemory, TupleMemory objectMemory, ContextEntry[] context, short nodeType)
-
Method Summary
-
Methods inherited from class org.drools.core.util.AbstractBaseLinkedListNode
getNext, getPrevious, nullPrevNext, setNext, setPrevious
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.core.util.LinkedListNode
getPrevious, nullPrevNext, setPrevious
-
Methods inherited from interface org.drools.core.common.Memory
getOrCreateSegmentMemory
-
-
-
-
Constructor Detail
-
BetaMemory
public BetaMemory()
-
BetaMemory
public BetaMemory(TupleMemory tupleMemory, TupleMemory objectMemory, ContextEntry[] context, short nodeType)
-
-
Method Detail
-
getStagedRightTuples
public TupleSets<RightTuple> getStagedRightTuples()
-
setStagedRightTuples
public void setStagedRightTuples(TupleSets<RightTuple> stagedRightTuples)
-
getRightTupleMemory
public TupleMemory getRightTupleMemory()
-
getLeftTupleMemory
public TupleMemory getLeftTupleMemory()
-
getRiaRuleMemory
public RiaPathMemory getRiaRuleMemory()
-
setRiaRuleMemory
public void setRiaRuleMemory(RiaPathMemory riaRuleMemory)
-
getContext
public ContextEntry[] getContext()
- Returns:
- the context
-
linkNode
public boolean linkNode(LeftTupleSource tupleSource, InternalWorkingMemory wm)
-
linkNode
public boolean linkNode(LeftTupleSource tupleSource, InternalWorkingMemory wm, boolean notify)
-
unlinkNode
public boolean unlinkNode(InternalWorkingMemory wm)
-
getNodeType
public short getNodeType()
- Specified by:
getNodeTypein interfaceMemory
-
getSegmentMemory
public SegmentMemory getSegmentMemory()
- Specified by:
getSegmentMemoryin interfaceMemory
-
setSegmentMemory
public void setSegmentMemory(SegmentMemory segmentMemory)
- Specified by:
setSegmentMemoryin interfaceMemory
-
getNodePosMaskBit
public long getNodePosMaskBit()
- Specified by:
getNodePosMaskBitin interfaceSegmentNodeMemory
-
setNodePosMaskBit
public void setNodePosMaskBit(long segmentPos)
- Specified by:
setNodePosMaskBitin interfaceSegmentNodeMemory
-
getCounter
public int getCounter()
-
setCounter
public void setCounter(int counter)
-
getAndIncCounter
public int getAndIncCounter()
-
getAndDecCounter
public int getAndDecCounter()
-
setNodeDirty
public boolean setNodeDirty(LeftTupleSource tupleSource, InternalWorkingMemory wm)
-
setNodeDirty
public boolean setNodeDirty(LeftTupleSource tupleSource, InternalWorkingMemory wm, boolean notify)
-
setNodeDirtyWithoutNotify
public void setNodeDirtyWithoutNotify()
- Specified by:
setNodeDirtyWithoutNotifyin interfaceSegmentNodeMemory
-
setNodeCleanWithoutNotify
public void setNodeCleanWithoutNotify()
- Specified by:
setNodeCleanWithoutNotifyin interfaceSegmentNodeMemory
-
-