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 void
install
(@NotNull Table result, @NotNull NotificationQueue.Dependency resultUpdatedDependency) Ifresult
has any columns ofdependencies
, construct and install a ConstituentDependency as aparent
.boolean
satisfied
(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, wait
Methods 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) Ifresult
has any columns ofdependencies
, construct and install a ConstituentDependency as aparent
.- Parameters:
result
- The resultTable
that may contain columns of constituent dependenciesresultUpdatedDependency
- A parentdependency
used to determine if the result table is done updating for this cycle. This is typically theInstrumentedTableListenerBase
orMergedListener
responsible for maintaining the result table, which will besatisfied
if it has processed its notification or if it will never fire on this cycle.
-
getUpdateGraph
- Specified by:
getUpdateGraph
in interfaceNotificationQueue.Dependency
- Returns:
- the update graph that this dependency is a part of
-
append
- Specified by:
append
in interfaceLogOutputAppendable
-
satisfied
public boolean satisfied(long step) Description copied from interface:NotificationQueue.Dependency
Is this ancestor satisfied? Note that this method must be safe to call on any thread.- Specified by:
satisfied
in 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)
-