Uses of Class
com.google.common.base.Stopwatch
Packages that use Stopwatch
Package
Description
Basic utility libraries and interfaces.
Discouraged (in favor of Caffeine) caching utilities.
Concurrency utilities.
-
Uses of Stopwatch in com.google.common.base
Methods in com.google.common.base that return StopwatchModifier and TypeMethodDescriptionstatic StopwatchStopwatch.createStarted()Creates (and starts) a new stopwatch usingSystem.nanoTime()as its time source.static StopwatchStopwatch.createStarted(Ticker ticker) Creates (and starts) a new stopwatch, using the specified time source.static StopwatchStopwatch.createUnstarted()Creates (but does not start) a new stopwatch usingSystem.nanoTime()as its time source.static StopwatchStopwatch.createUnstarted(Ticker ticker) Creates (but does not start) a new stopwatch, using the specified time source.Stopwatch.reset()Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.Stopwatch.start()Starts the stopwatch.Stopwatch.stop()Stops the stopwatch. -
Uses of Stopwatch in com.google.common.cache
Fields in com.google.common.cache declared as Stopwatch -
Uses of Stopwatch in com.google.common.util.concurrent
Fields in com.google.common.util.concurrent with type parameters of type StopwatchModifier and TypeFieldDescription(package private) final IdentityHashMap<Service, Stopwatch> ServiceManager.ServiceManagerState.startupTimers