Home
last modified time | relevance | path

Searched refs:Ticker (Results 1 – 21 of 21) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DTicker.java36 public abstract class Ticker { class
40 protected Ticker() {} in Ticker() method in Ticker
53 public static Ticker systemTicker() { in systemTicker()
57 private static final Ticker SYSTEM_TICKER = new Ticker() {
DStopwatch.java74 private final Ticker ticker;
95 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
115 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
128 this(Ticker.systemTicker()); in Stopwatch()
139 public Stopwatch(Ticker ticker) { in Stopwatch()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java76 private final Ticker ticker;
97 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
117 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
130 this(Ticker.systemTicker()); in Stopwatch()
141 public Stopwatch(Ticker ticker) { in Stopwatch()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java30 import com.google.common.base.Ticker;
201 static final Ticker NULL_TICKER = new Ticker() {
231 Ticker ticker;
456 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker()
462 Ticker getTicker(boolean recordsTime) { in getTicker()
466 return recordsTime ? Ticker.systemTicker() : NULL_TICKER; in getTicker()
DLocalCache.java24 import com.google.common.base.Ticker;
60 private final Ticker ticker;
81 this.ticker = firstNonNull(builder.ticker, Ticker.systemTicker()); in LocalCache()
305 private final Ticker ticker;
309 public Timestamped(V value, Ticker ticker) { in Timestamped()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java32 import com.google.common.base.Ticker;
207 static final Ticker NULL_TICKER = new Ticker() {
237 Ticker ticker;
701 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker()
707 Ticker getTicker(boolean recordsTime) { in getTicker()
711 return recordsTime ? Ticker.systemTicker() : NULL_TICKER; in getTicker()
DLocalCache.java32 import com.google.common.base.Ticker;
218 final Ticker ticker;
4570 final Ticker ticker;
4597 Ticker ticker, CacheLoader<? super K, V> loader) {
4608 this.ticker = (ticker == Ticker.systemTicker() || ticker == NULL_TICKER)
/external/guava/guava-testlib/src/com/google/common/testing/
DFakeTicker.java23 import com.google.common.base.Ticker;
41 public class FakeTicker extends Ticker {
DArbitraryInstances.java32 import com.google.common.base.Ticker;
201 .put(Ticker.class, Ticker.systemTicker())
DFreshValueGenerator.java28 import com.google.common.base.Ticker;
461 @Generates private Ticker freshTicker() {
462 return new Ticker() {
466 final String string = paramString(Ticker.class, freshInt());
/external/guava/guava-gwt/test-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilderTest.java27 import com.google.common.base.Ticker;
169 Ticker testTicker = Ticker.systemTicker(); in testTicker_setTwice()
/external/guava/guava/src/com/google/common/collect/
DMapMaker.java30 import com.google.common.base.Ticker;
131 Ticker ticker;
447 Ticker getTicker() { in getTicker()
448 return firstNonNull(ticker, Ticker.systemTicker()); in getTicker()
DMapMakerInternalMap.java22 import com.google.common.base.Ticker;
190 final Ticker ticker;
/external/guava/guava/src/com/google/common/util/concurrent/
DRateLimiter.java22 import com.google.common.base.Ticker;
712 static abstract class SleepingTicker extends Ticker {
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java30 import com.google.common.base.Ticker;
345 Ticker testTicker = Ticker.systemTicker(); in testTicker_setTwice()
DLocalCacheTest.java34 import com.google.common.base.Ticker;
404 Ticker testTicker = new Ticker() { in testSetTicker()
2392 Ticker ticker = new SerializableTicker(); in testSerializationProxyLoading()
2448 Ticker ticker = new SerializableTicker(); in testSerializationProxyManual()
2786 private static class SerializableTicker extends Ticker implements Serializable {
/external/v8/src/
Dlog.h65 class Ticker; variable
386 Ticker* ticker_;
Dlog.cc663 class Ticker: public Sampler { class
665 Ticker(Isolate* isolate, int interval): in Ticker() function in v8::internal::Ticker
669 ~Ticker() { if (IsActive()) Stop(); } in ~Ticker()
1859 ticker_ = new Ticker(isolate, kSamplingIntervalMs); in SetUp()
/external/guava/guava-testlib/test/com/google/common/testing/
DArbitraryInstancesTest.java27 import com.google.common.base.Ticker;
216 assertNotNull(ArbitraryInstances.get(Ticker.class)); in testGet_misc()
DFreshValueGeneratorTest.java26 import com.google.common.base.Ticker;
140 TimeUnit.class, Ticker.class, in testFreshInstance()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java27 import com.google.common.base.Ticker;
91 assertSame(Ticker.systemTicker(), map.ticker); in testDefaults()