public abstract class IndexerWithMemory extends StandardIndexer implements Receiver
Constructor and Description |
---|
IndexerWithMemory(ReteContainer reteContainer,
TupleMask mask) |
Modifier and Type | Method and Description |
---|---|
void |
appendParent(Supplier supplier)
appends a parent that will continously send insert and revoke updates to this supplier
|
MaskedTupleMemory |
getMemory() |
java.util.Collection<Supplier> |
getParents()
access active parent
|
void |
removeParent(Supplier supplier)
removes a parent
|
void |
update(Direction direction,
Tuple updateElement)
updates the receiver with a newly found or lost partial matching
|
assignTraceInfo, attachListener, detachListener, getContainer, getListeners, getMask, getParent
acceptPropagatedTraceInfo, getNodeId, getTag, getTraceInfos, setTag, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
acceptPropagatedTraceInfo, assignTraceInfo, getContainer, getNodeId, getTag, getTraceInfos, setTag
get, getActiveNode
public IndexerWithMemory(ReteContainer reteContainer, TupleMask mask)
reteContainer
- mask
- public MaskedTupleMemory getMemory()
public void update(Direction direction, Tuple updateElement)
Receiver
public void appendParent(Supplier supplier)
Receiver
appendParent
in interface Receiver
public void removeParent(Supplier supplier)
Receiver
removeParent
in interface Receiver
public java.util.Collection<Supplier> getParents()
Receiver
getParents
in interface Receiver