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
,Runnable
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFixedStepReplayer
(DBDateTime startTime, DBDateTime endTime, long incrementNanos) -
Method Summary
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
-
FixedStepReplayer
-
-
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.
-