Interface ActorClockService

All Known Implementing Classes:
ControlledActorClockService
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ActorClockService
A service which wraps an ActorClock instance. We can't directly use an actor clock since the interface is by nature immutable, so instead we wrap it.
  • Method Details

    • epochMilli

      long epochMilli()
      Returns:
      the current instant of the clock
    • mutable

      Returns:
      a mutable variant of the underlying clock, or nothing if the clock is immutable