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 DBDateTimecurrentTime()Simulated time.voidrefresh()Refresh the simulated live tables.voidsetTime(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:ReplayerSimulated time.- Specified by:
currentTimein interfaceReplayerInterface- Overrides:
currentTimein classReplayer- Returns:
- simulated time.
-
refresh
public void refresh()Description copied from class:ReplayerRefresh the simulated live tables. -
setTime
public void setTime(long updatedTime)Description copied from class:ReplayerSets the current replay time.- Specified by:
setTimein interfaceReplayerInterface- Overrides:
setTimein classReplayer- Parameters:
updatedTime- new replay time.
-