java.lang.Object
de.cuioss.tools.concurrent.Ticker
- All Implemented Interfaces:
Serializable
A time source; returns a time value representing the number of nanoseconds
elapsed since some fixed but arbitrary point in time. Note that most users
should use
StopWatch instead of interacting with this class directly.
Warning: this type can only be used to measure elapsed time, not wall time.
- Author:
- com.google.common.base.Ticker
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Ticker
public Ticker()
-
-
Method Details
-
read
- Returns:
- the number of nanoseconds elapsed since this ticker's fixed point of reference.
-