public class StepClock extends java.lang.Object implements Clock
| Constructor and Description |
|---|
StepClock(Clock impl,
long step)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
long |
monotonicTime()
Current time from a monotonic clock source.
|
long |
wallTime()
Current wall time in milliseconds since the epoch.
|
public StepClock(Clock impl, long step)
public long wallTime()
ClockStepLong.public long monotonicTime()
ClockmonotonicTime in interface Clock