Package io.deephaven.enterprise.replay
Class DeltaClockWithSpeed
java.lang.Object
io.deephaven.enterprise.replay.DeltaClockWithSpeed
- All Implemented Interfaces:
- Clock
A clock impl with a delta adjustment and a speed factor.
- 
Constructor SummaryConstructorsConstructorDescriptionDeltaClockWithSpeed(@NotNull Clock delegate, long deltaNanos, double speedFactor) Constructs a delta clock with the provided clock and delta.
- 
Method SummaryModifier and TypeMethodDescriptionlonglonglong
- 
Constructor Details- 
DeltaClockWithSpeedConstructs a delta clock with the provided clock and delta.- Parameters:
- delegate- the base clock
- deltaNanos- the delta nanos
 
 
- 
- 
Method Details- 
currentTimeMillispublic long currentTimeMillis()- Specified by:
- currentTimeMillisin interface- Clock
 
- 
currentTimeMicrospublic long currentTimeMicros()- Specified by:
- currentTimeMicrosin interface- Clock
 
- 
currentTimeNanospublic long currentTimeNanos()- Specified by:
- currentTimeNanosin interface- Clock
 
- 
instantNanos- Specified by:
- instantNanosin interface- Clock
 
- 
instantMillis- Specified by:
- instantMillisin interface- Clock
 
 
-