Package akka.util
Class AlwaysIncreasingClock
- java.lang.Object
-
- java.lang.Number
-
- java.util.concurrent.atomic.AtomicLong
-
- akka.util.AlwaysIncreasingClock
-
- All Implemented Interfaces:
WallClock
,java.io.Serializable
public final class AlwaysIncreasingClock extends java.util.concurrent.atomic.AtomicLong implements WallClock
INTERNAL API: Always increasing wall clock time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlwaysIncreasingClock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
currentTimeMillis()
-
Methods inherited from class java.util.concurrent.atomic.AtomicLong
accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
-
-
-
Method Detail
-
currentTimeMillis
public long currentTimeMillis()
- Specified by:
currentTimeMillis
in interfaceWallClock
-
-