Home
last modified time | relevance | path

Searched refs:shouldWait (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderTest.java387 final AtomicBoolean shouldWait = new AtomicBoolean(false); in testRemovalNotification_clear() local
391 if (shouldWait.get()) { in testRemovalNotification_clear()
406 shouldWait.set(true); in testRemovalNotification_clear()
615 private final AtomicBoolean shouldWait; field in CacheBuilderTest.DelayingIdentityLoader
618 DelayingIdentityLoader(AtomicBoolean shouldWait, CountDownLatch delayLatch) { in DelayingIdentityLoader() argument
619 this.shouldWait = shouldWait; in DelayingIdentityLoader()
624 if (shouldWait.get()) { in load()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAbstractScheduledServiceTest.java338 final AtomicBoolean shouldWait = new AtomicBoolean(true); in testCustomSchedule_startStop() local
342 if (shouldWait.get()) { in testCustomSchedule_startStop()
358 shouldWait.set(false); in testCustomSchedule_startStop()