Package io.deephaven.engine.table.impl
Class OperationSnapshotControlEx
java.lang.Object
io.deephaven.engine.table.impl.OperationSnapshotControl
io.deephaven.engine.table.impl.OperationSnapshotControlEx
- All Implemented Interfaces:
ConstructSnapshot.SnapshotCompletedConsistently
,ConstructSnapshot.SnapshotConsistent
,ConstructSnapshot.SnapshotControl
,ConstructSnapshot.UsePreviousValues
Variant of
OperationSnapshotControl
that considers "extra" dependencies
in addition to the source BaseTable
when determining whether to use previous values during initialization or
evaluating success. This is useful anytime an operation needs to listen to and snapshot one data source while also
snapshotting others.-
Constructor Summary
ConstructorDescriptionOperationSnapshotControlEx
(@NotNull BaseTable<?> sourceTable, @NotNull NotificationQueue.Dependency... extras) -
Method Summary
Methods inherited from class io.deephaven.engine.table.impl.OperationSnapshotControl
getUpdateGraph, isInInitialNotificationWindow, setListenerAndResult, snapshotCompletedConsistently, snapshotConsistent
-
Constructor Details
-
OperationSnapshotControlEx
public OperationSnapshotControlEx(@NotNull @NotNull BaseTable<?> sourceTable, @NotNull @NotNull NotificationQueue.Dependency... extras)
-
-
Method Details
-
usePreviousValues
Description copied from class:OperationSnapshotControl
Starts a snapshot.- Specified by:
usePreviousValues
in interfaceConstructSnapshot.UsePreviousValues
- Overrides:
usePreviousValues
in classOperationSnapshotControl
- Parameters:
beforeClockValue
- the logical clock value we are starting a snapshot on- Returns:
- true if we should use previous values, false if we should use current values.
-