Class AbstractIndexTable.UniversalListeners
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.matchers.scopes.tables.AbstractIndexTable.UniversalListeners
-
- All Implemented Interfaces:
AbstractIndexTable.IListenersWithSameMask
- Enclosing class:
- AbstractIndexTable
protected final class AbstractIndexTable.UniversalListeners extends java.lang.Object implements AbstractIndexTable.IListenersWithSameMask
Listeners interested in all tuples
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UniversalListeners()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUpdateListener(Tuple originalSeed, IQueryRuntimeContextListener listener)
void
deliver(Tuple updateTuple, boolean isInsertion)
TupleMask
getSeedMask()
boolean
removeUpdateListener(Tuple originalSeed, IQueryRuntimeContextListener listener)
-
-
-
Method Detail
-
getSeedMask
public TupleMask getSeedMask()
- Specified by:
getSeedMask
in interfaceAbstractIndexTable.IListenersWithSameMask
-
deliver
public void deliver(Tuple updateTuple, boolean isInsertion)
- Specified by:
deliver
in interfaceAbstractIndexTable.IListenersWithSameMask
-
addUpdateListener
public void addUpdateListener(Tuple originalSeed, IQueryRuntimeContextListener listener)
- Specified by:
addUpdateListener
in interfaceAbstractIndexTable.IListenersWithSameMask
-
removeUpdateListener
public boolean removeUpdateListener(Tuple originalSeed, IQueryRuntimeContextListener listener)
- Specified by:
removeUpdateListener
in interfaceAbstractIndexTable.IListenersWithSameMask
- Returns:
- true if this was the last listener, and the
AbstractIndexTable.IListenersWithSameMask
can be disposed of.
-
-