YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.engine.MonotonicClock Interface Reference

A time source in milliseconds that never goes back; injectable so tests do not sleep. More...

Collaboration diagram for de.yaacc.multiroom.engine.MonotonicClock:
Collaboration graph

Public Member Functions

long nowMillis ()
 

Public Attributes

MonotonicClock SYSTEM = () -> System.nanoTime() / 1_000_000L
 The real clock.
 

Detailed Description

A time source in milliseconds that never goes back; injectable so tests do not sleep.


The documentation for this interface was generated from the following file: