Uses of Class
com.google.common.base.Ticker
Package
Description
Basic utility libraries and interfaces.
Discouraged (in favor of Caffeine) caching utilities.
-
Uses of Ticker in com.google.common.base
Modifier and TypeMethodDescriptionstatic Ticker
Ticker.systemTicker()
A ticker that reads the current time usingSystem.nanoTime()
.Modifier and TypeMethodDescriptionstatic Stopwatch
Stopwatch.createStarted
(Ticker ticker) Creates (and starts) a new stopwatch, using the specified time source.static Stopwatch
Stopwatch.createUnstarted
(Ticker ticker) Creates (but does not start) a new stopwatch, using the specified time source. -
Uses of Ticker in com.google.common.cache
Modifier and TypeMethodDescriptionSpecifies a nanosecond-precision time source for this cache.