Home | History | Annotate | Download | only in cache

Lines Matching refs:ticker

33 import com.google.common.base.Ticker;
190 static final Ticker NULL_TICKER = new Ticker() {
220 Ticker ticker;
649 * @throws IllegalStateException if a ticker was already set
652 public CacheBuilder<K, V> ticker(Ticker ticker) {
653 checkState(this.ticker == null);
654 this.ticker = checkNotNull(ticker);
658 Ticker getTicker(boolean recordsTime) {
659 if (ticker != null) {
660 return ticker;
662 return recordsTime ? Ticker.systemTicker() : NULL_TICKER;