Searched refs:EXPIRING_TIME (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 45 private static final long EXPIRING_TIME = 1000; field in CacheExpirationTest 55 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) in testExpiration_expireAfterWrite() 68 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) in testExpiration_expireAfterAccess() 91 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local 96 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local 107 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) in testExpiringGet_expireAfterWrite() 120 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) in testExpiringGet_expireAfterAccess() 144 ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); in runExpirationTest() 154 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local 169 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local [all …]
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 45 private static final long EXPIRING_TIME = 1000; field in CacheExpirationTest 55 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) in testExpiration_expireAfterWrite() 68 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) in testExpiration_expireAfterAccess() 91 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local 96 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local 107 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) in testExpiringGet_expireAfterWrite() 120 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) in testExpiringGet_expireAfterAccess() 144 ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); in runExpirationTest() 154 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local 169 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local [all …]
|