Searched refs:expireAfterAccessNanos (Results 1 – 7 of 7) sorted by relevance
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 213 long expireAfterAccessNanos = UNSET_INT; field in CacheBuilder 426 if (expireAfterWriteNanos == 0 || expireAfterAccessNanos == 0) { in getMaximumWeight() 593 checkState(expireAfterAccessNanos == UNSET_INT, "expireAfterAccess was already set to %s ns", in expireAfterAccess() 594 expireAfterAccessNanos); in expireAfterAccess() 596 this.expireAfterAccessNanos = unit.toNanos(duration); in expireAfterAccess() 601 return (expireAfterAccessNanos == UNSET_INT) in getExpireAfterAccessNanos() 602 ? DEFAULT_EXPIRATION_NANOS : expireAfterAccessNanos; in getExpireAfterAccessNanos() 801 if (expireAfterAccessNanos != UNSET_INT) { in toString() 802 s.add("expireAfterAccess", expireAfterAccessNanos + "ns"); in toString()
|
D | LocalCache.java | 194 final long expireAfterAccessNanos; field in LocalCache 244 expireAfterAccessNanos = builder.getExpireAfterAccessNanos(); in LocalCache() 324 return expireAfterAccessNanos > 0; in expiresAfterAccess() 1957 && (now - entry.getAccessTime() > expireAfterAccessNanos)) { in isExpired() 4592 final long expireAfterAccessNanos; 4609 cache.expireAfterAccessNanos, 4621 long expireAfterWriteNanos, long expireAfterAccessNanos, long maxWeight, 4630 this.expireAfterAccessNanos = expireAfterAccessNanos; 4652 if (expireAfterAccessNanos > 0) { 4653 builder.expireAfterAccess(expireAfterAccessNanos, TimeUnit.NANOSECONDS);
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMaker.java | 131 long expireAfterAccessNanos = UNSET_INT; field in MapMaker 478 checkState(expireAfterAccessNanos == UNSET_INT, "expireAfterAccess was already set to %s ns", in checkExpiration() 479 expireAfterAccessNanos); in checkExpiration() 515 this.expireAfterAccessNanos = unit.toNanos(duration); in expireAfterAccess() 525 return (expireAfterAccessNanos == UNSET_INT) in getExpireAfterAccessNanos() 526 ? DEFAULT_EXPIRATION_NANOS : expireAfterAccessNanos; in getExpireAfterAccessNanos() 692 if (expireAfterAccessNanos != UNSET_INT) { in toString() 693 s.add("expireAfterAccess", expireAfterAccessNanos + "ns"); in toString()
|
D | ComputingConcurrentHashMap.java | 414 valueEquivalence, expireAfterWriteNanos, expireAfterAccessNanos, maximumSize, in writeReplace() 424 long expireAfterWriteNanos, long expireAfterAccessNanos, int maximumSize, in ComputingSerializationProxy() argument 428 expireAfterAccessNanos, maximumSize, concurrencyLevel, removalListener, delegate); in ComputingSerializationProxy()
|
D | MapMakerInternalMap.java | 172 final long expireAfterAccessNanos; field in MapMakerInternalMap 206 expireAfterAccessNanos = builder.getExpireAfterAccessNanos(); in MapMakerInternalMap() 279 return expireAfterAccessNanos > 0; in expiresAfterAccess() 2288 recordExpirationTime(entry, map.expireAfterAccessNanos); in recordRead() 2304 recordExpirationTime(entry, map.expireAfterAccessNanos); in recordLockedRead() 2322 ? map.expireAfterAccessNanos in recordWrite() 3939 valueEquivalence, expireAfterWriteNanos, expireAfterAccessNanos, maximumSize, 3956 final long expireAfterAccessNanos; 3965 long expireAfterWriteNanos, long expireAfterAccessNanos, int maximumSize, 3973 this.expireAfterAccessNanos = expireAfterAccessNanos; [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 129 assertEquals(0, map.expireAfterAccessNanos); in testDefaults() 352 assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos); in testSetExpireAfterAccess() 2336 assertEquals(localCacheOne.expireAfterAccessNanos, localCacheTwo.expireAfterAccessNanos); in testSerializationProxyLoading() 2353 assertEquals(localCacheTwo.expireAfterAccessNanos, localCacheThree.expireAfterAccessNanos); in testSerializationProxyLoading() 2391 assertEquals(localCacheOne.expireAfterAccessNanos, localCacheTwo.expireAfterAccessNanos); in testSerializationProxyManual() 2406 assertEquals(localCacheTwo.expireAfterAccessNanos, localCacheThree.expireAfterAccessNanos); in testSerializationProxyManual()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 84 assertEquals(0, map.expireAfterAccessNanos); in testDefaults() 289 assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos); in testSetExpireAfterAccess()
|