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() . |
Constructor and Description |
---|
Stopwatch(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 use in determining when entries should be
expired.
|
Copyright © 2010-2013. All Rights Reserved.