Searched refs:EXPIRING_TIME (Results 1 – 1 of 1) 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 54 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) in testExpiration_expireAfterWrite() 66 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) in testExpiration_expireAfterAccess() 86 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local 92 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local 103 .expireAfterWrite(EXPIRING_TIME, MILLISECONDS) in testExpiringGet_expireAfterWrite() 115 .expireAfterAccess(EXPIRING_TIME, MILLISECONDS) in testExpiringGet_expireAfterAccess() 136 ticker.advance(EXPIRING_TIME * 10, MILLISECONDS); in runExpirationTest() 146 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local 161 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local [all …]
|