public class SegmentMemory extends LinkedList<SegmentMemory> implements LinkedListNode<SegmentMemory>
Modifier and Type | Class and Description |
---|---|
static class |
SegmentMemory.AccumulateMemoryPrototype |
static class |
SegmentMemory.BetaMemoryPrototype |
static class |
SegmentMemory.FromMemoryPrototype |
static class |
SegmentMemory.LiaMemoryPrototype |
static class |
SegmentMemory.MemoryPrototype |
static class |
SegmentMemory.Prototype |
static class |
SegmentMemory.QueryMemoryPrototype |
static class |
SegmentMemory.TimerMemoryPrototype |
LinkedList.JavaUtilIterator<T extends LinkedListNode<T>>, LinkedList.LinkedListFastIterator, LinkedList.LinkedListIterator<T extends LinkedListNode<T>>
Modifier and Type | Field and Description |
---|---|
protected static boolean |
isLogTraceEnabled |
protected static org.slf4j.Logger |
log |
fastIterator
Constructor and Description |
---|
SegmentMemory(NetworkNode rootNode) |
add, addFirst, addLast, clear, contains, fastIterator, get, getFirst, getLast, insertAfter, isEmpty, iterator, javaUtilIterator, readExternal, remove, removeFirst, removeLast, size, writeExternal
protected static final org.slf4j.Logger log
protected static final boolean isLogTraceEnabled
public SegmentMemory(NetworkNode rootNode)
public NetworkNode getRootNode()
public NetworkNode getTipNode()
public void setTipNode(NetworkNode tipNode)
public LeftTupleSink getSinkFactory()
public void setSinkFactory(LeftTupleSink sink)
public Memory createNodeMemory(MemoryFactory memoryFactory, InternalWorkingMemory wm)
public LinkedList<Memory> getNodeMemories()
public long getLinkedNodeMask()
public void setLinkedNodeMask(long linkedNodeMask)
public long getDirtyNodeMask()
public void resetDirtyNodeMask()
public void updateDirtyNodeMask(long mask)
public void updateCleanNodeMask(long mask)
public String getRuleNames()
public void linkNode(long mask, InternalWorkingMemory wm)
public void linkNodeWithoutRuleNotify(long mask)
public void notifyRuleLinkSegment(InternalWorkingMemory wm, long mask)
public void notifyRuleLinkSegment(InternalWorkingMemory wm)
public void unlinkNode(long mask, InternalWorkingMemory wm)
public void unlinkNodeWithoutRuleNotify(long mask)
public long getAllLinkedMaskTest()
public void setAllLinkedMaskTest(long allLinkedTestMask)
public boolean isSegmentLinked()
public List<PathMemory> getPathMemories()
public PathMemory getFirstDataDrivenPathMemory()
public void setPathMemories(List<PathMemory> ruleSegments)
public long getSegmentPosMaskBit()
public void setSegmentPosMaskBit(long nodeSegmenMask)
public boolean isActive()
public void setActive(boolean evaluating)
public int getPos()
public void setPos(int pos)
public LeftTupleSets getStagedLeftTuples()
public void setStagedTuples(LeftTupleSets stagedTuples)
public SegmentMemory getNext()
getNext
in interface Entry<SegmentMemory>
public void setNext(SegmentMemory next)
setNext
in interface Entry<SegmentMemory>
public SegmentMemory getPrevious()
LinkedListNode
getPrevious
in interface LinkedListNode<SegmentMemory>
public void setPrevious(SegmentMemory previous)
LinkedListNode
setPrevious
in interface LinkedListNode<SegmentMemory>
previous
- The previous LinkedListNodepublic void nullPrevNext()
nullPrevNext
in interface LinkedListNode<SegmentMemory>
public int hashCode()
hashCode
in class LinkedList<SegmentMemory>
public boolean equals(Object obj)
equals
in class LinkedList<SegmentMemory>
public SegmentMemory.Prototype asPrototype()
public List<NetworkNode> getNodesInSegment()
public void reset(SegmentMemory.Prototype prototype)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.