| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static Stopwatch |
Stopwatch.createStarted(Ticker
Creates (and starts) a new stopwatch, using the specified time source.
|
static Stopwatch |
Stopwatch.createUnstarted(Ticker
Creates (but does not start) a new stopwatch, using the specified time source.
|
| Modifier and Type | Method and Description |
|---|---|
CacheBuilder |
CacheBuilder.ticker(Ticker
Specifies a nanosecond-precision time source for use in determining when entries should be expired.
|