| Package | Description | 
|---|---|
| com.google.common.base | Basic utility libraries and interfaces. | 
| com.google.common.cache | This package contains caching utilities. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Ticker | Ticker. systemTicker()A ticker that reads the current time using  System.nanoTime(). | 
| Modifier and Type | Method and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheBuilder<K,V> | CacheBuilder. ticker(Ticker ticker)Specifies a nanosecond-precision time source for this cache. | 
Copyright © 2010–2019. All rights reserved.