Class DataDrivenReplayer
java.lang.Object
io.deephaven.engine.table.impl.replay.Replayer
io.deephaven.engine.table.impl.replay.DataDrivenReplayer
- All Implemented Interfaces:
ReplayerInterface
,Runnable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclock()
void
registerTimeSource
(RowSet rowSet, ColumnSource<Instant> timestampSource) Register the time column and row set from a new table to replay.void
run()
Refresh the simulated live tables.void
setTime
(long updatedTime) Sets the current replay time.void
start()
Starts replaying data.Methods inherited from class io.deephaven.engine.table.impl.replay.Replayer
getClock, getHandle, isDone, replay, replayGrouped, replayGroupedLastBy, schedule, shutdown, waitDone
-
Constructor Details
-
DataDrivenReplayer
-
-
Method Details
-
registerTimeSource
Description copied from class:Replayer
Register the time column and row set from a new table to replay. Most users will usereplay
,replayGrouped
, orreplayGroupedLastBy
instead of this function.- Overrides:
registerTimeSource
in classReplayer
- Parameters:
rowSet
- table row settimestampSource
- column source containing time information.
-
start
public void start()Description copied from class:Replayer
Starts replaying data.- Specified by:
start
in interfaceReplayerInterface
- Overrides:
start
in classReplayer
-
run
public void run()Description copied from class:Replayer
Refresh the simulated live tables. -
setTime
public void setTime(long updatedTime) Description copied from class:Replayer
Sets the current replay time.- Specified by:
setTime
in interfaceReplayerInterface
- Overrides:
setTime
in classReplayer
- Parameters:
updatedTime
- new replay time.
-
clock
- Specified by:
clock
in interfaceReplayerInterface
- Overrides:
clock
in classReplayer
-