Uses of Class
com.google.common.base.Ticker
Packages that use Ticker
Package
Description
Basic utility libraries and interfaces.
Discouraged (in favor of Caffeine) caching utilities.
-
Uses of Ticker in com.google.common.base
Methods in com.google.common.base that return TickerModifier and TypeMethodDescriptionstatic Ticker
Ticker.systemTicker()
A ticker that reads the current time usingSystem.nanoTime()
.Methods in com.google.common.base with parameters of type TickerModifier 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
Methods in com.google.common.cache with parameters of type TickerModifier and TypeMethodDescriptionSpecifies a nanosecond-precision time source for this cache.