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.ReactiveFromMemoryPrototype |
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(LeftTupleNode 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(LeftTupleNode rootNode)
public LeftTupleNode getRootNode()
public LeftTupleNode getTipNode()
public void setTipNode(LeftTupleNode tipNode)
public LeftTupleSink getSinkFactory()
public <T extends Memory> T createNodeMemory(MemoryFactory<T> 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 boolean linkNode(long mask, InternalWorkingMemory wm)
public boolean linkNodeWithoutRuleNotify(long mask)
public boolean linkSegmentWithoutRuleNotify(InternalWorkingMemory wm, long mask)
public boolean notifyRuleLinkSegment(InternalWorkingMemory wm, long mask)
public boolean notifyRuleLinkSegment(InternalWorkingMemory wm)
public void notifyRuleLinkSegment(InternalWorkingMemory wm, PathMemory pmem)
public boolean unlinkNode(long mask, InternalWorkingMemory wm)
public void unlinkSegment(InternalWorkingMemory wm)
public void unlinkNodeWithoutRuleNotify(long mask)
public long getAllLinkedMaskTest()
public void setAllLinkedMaskTest(long allLinkedTestMask)
public boolean isSegmentLinked()
public List<PathMemory> getPathMemories()
public void addPathMemory(PathMemory pathMemory)
public void mergePathMemories(SegmentMemory segmentMemory)
public void removePathMemory(PathMemory pathMemory)
public PathMemory getFirstDataDrivenPathMemory()
public boolean hasDataDrivenPathMemories()
public List<PathMemory> getDataDrivenPathMemories()
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 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–2019 JBoss by Red Hat. All rights reserved.