Uses of Class
com.google.common.base.Ticker
Packages that use Ticker
Package
Description
Basic utility libraries and interfaces.
This package contains caching utilities.
This package contains testing utilities.
-
Uses of Ticker in com.google.common.base
Fields in com.google.common.base declared as TickerModifier and TypeFieldDescriptionprivate static final TickerTicker.SYSTEM_TICKERprivate final TickerStopwatch.tickerMethods in com.google.common.base that return TickerModifier and TypeMethodDescriptionstatic TickerTicker.systemTicker()A ticker that reads the current time usingSystem.nanoTime().Methods in com.google.common.base with parameters of type TickerModifier and TypeMethodDescriptionstatic StopwatchStopwatch.createStarted(Ticker ticker) Creates (and starts) a new stopwatch, using the specified time source.static StopwatchStopwatch.createUnstarted(Ticker ticker) Creates (but does not start) a new stopwatch, using the specified time source.Constructors in com.google.common.base with parameters of type Ticker -
Uses of Ticker in com.google.common.cache
Fields in com.google.common.cache declared as TickerModifier and TypeFieldDescription(package private) static final TickerCacheBuilder.NULL_TICKER(package private) TickerCacheBuilder.ticker(package private) final TickerLocalCache.ManualSerializationProxy.ticker(package private) final TickerLocalCache.tickerMeasures time in a testable way.Methods in com.google.common.cache that return TickerModifier and TypeMethodDescription(package private) TickerCacheBuilder.getTicker(boolean recordsTime) Methods in com.google.common.cache with parameters of type TickerModifier and TypeMethodDescriptionSpecifies a nanosecond-precision time source for this cache.Constructors in com.google.common.cache with parameters of type TickerModifierConstructorDescriptionprivateManualSerializationProxy(LocalCache.Strength keyStrength, LocalCache.Strength valueStrength, Equivalence<Object> keyEquivalence, Equivalence<Object> valueEquivalence, long expireAfterWriteNanos, long expireAfterAccessNanos, long maxWeight, Weigher<K, V> weigher, int concurrencyLevel, RemovalListener<? super K, ? super V> removalListener, Ticker ticker, CacheLoader<? super K, V> loader) -
Uses of Ticker in com.google.common.testing
Subclasses of Ticker in com.google.common.testingModifier and TypeClassDescriptionclassA Ticker whose value can be advanced programmatically in test.Methods in com.google.common.testing that return Ticker