Interface ActorClockService.MutableClock
- All Known Implementing Classes:
ControlledActorClockService
- Enclosing interface:
- ActorClockService
public static interface ActorClockService.MutableClock
A mutable variant of this service.
-
Method Summary
-
Method Details
-
addTime
Adds the offset to the current clock.- Parameters:
offset- the time offset to add to the current time
-
pinTime
Pins the clock to the given time.- Parameters:
time- the time at which to pin the current clock
-
resetTime
void resetTime()Resets the clock to use the system time
-