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