Package com.illumon.iris.db.v2.replay
Class FixedStepReplayer
java.lang.Object
com.illumon.iris.db.v2.replay.Replayer
com.illumon.iris.db.v2.replay.FixedStepReplayer
- All Implemented Interfaces:
LiveTable
,ReplayerInterface
public class FixedStepReplayer extends Replayer
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FixedStepReplayer(DBDateTime startTime, DBDateTime endTime, long incrementNanos)
-
Method Summary
Modifier and Type Method Description DBDateTime
currentTime()
Simulated time.void
refresh()
Refresh the simulated live tables.void
setTime(long updatedTime)
Sets the current replay time.Methods inherited from class com.illumon.iris.db.v2.replay.Replayer
currentTimeNanos, getHandle, getTimeProvider, isDone, registerTimeSource, replay, replayGrouped, replayGroupedLastBy, schedule, shutdown, start, waitDone
-
Constructor Details
-
Method Details
-
currentTime
Description copied from class:Replayer
Simulated time.- Specified by:
currentTime
in interfaceReplayerInterface
- Overrides:
currentTime
in classReplayer
- Returns:
- simulated time.
-
refresh
public void refresh()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.
-