Package io.deephaven.engine.table.impl
Class ConstituentDependency
java.lang.Object
io.deephaven.engine.table.impl.ConstituentDependency
- All Implemented Interfaces:
LogOutputAppendable,NotificationQueue.Dependency
A ConstituentDependency is used to establish a
dependency relationship between a table and the
constituent tables (or table-like things) that fill its columns.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidinstall(@NotNull Table result, @NotNull NotificationQueue.Dependency resultUpdatedDependency) Ifresulthas any columns ofdependencies, construct and install a ConstituentDependency as aparent.booleansatisfied(long step) Is this ancestor satisfied? Note that this method must be safe to call on any thread.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.updategraph.NotificationQueue.Dependency
getUpdateGraph
-
Method Details
-
install
public static void install(@NotNull @NotNull Table result, @NotNull @NotNull NotificationQueue.Dependency resultUpdatedDependency) Ifresulthas any columns ofdependencies, construct and install a ConstituentDependency as aparent.- Parameters:
result- The resultTablethat may contain columns of constituent dependenciesresultUpdatedDependency- A parentdependencyused to determine if the result table is done updating for this cycle. This is typically theInstrumentedTableListenerBaseorMergedListenerresponsible for maintaining the result table, which will besatisfiedif it has processed its notification or if it will never fire on this cycle.
-
getUpdateGraph
- Specified by:
getUpdateGraphin interfaceNotificationQueue.Dependency- Returns:
- the update graph that this dependency is a part of
-
append
- Specified by:
appendin interfaceLogOutputAppendable
-
satisfied
public boolean satisfied(long step) Description copied from interface:NotificationQueue.DependencyIs this ancestor satisfied? Note that this method must be safe to call on any thread.- Specified by:
satisfiedin interfaceNotificationQueue.Dependency- Parameters:
step- The step for which we are testing satisfaction- Returns:
- Whether the dependency is satisfied on
step(and will not fire subsequent notifications)
-