Searched refs:refreshNanos (Results 1 – 3 of 3) sorted by relevance
214 long refreshNanos = UNSET_INT; field in CacheBuilder632 checkState(refreshNanos == UNSET_INT, "refresh was already set to %s ns", refreshNanos); in refreshAfterWrite()634 this.refreshNanos = unit.toNanos(duration); in refreshAfterWrite()639 return (refreshNanos == UNSET_INT) ? DEFAULT_REFRESH_NANOS : refreshNanos; in getRefreshNanos()761 checkState(refreshNanos == UNSET_INT, "refreshAfterWrite requires a LoadingCache"); in checkNonLoadingCache()
200 final long refreshNanos; field in LocalCache246 refreshNanos = builder.getRefreshNanos(); in LocalCache()328 return refreshNanos > 0; in refreshes()2398 if (map.refreshes() && (now - entry.getWriteTime() > map.refreshNanos)) { in scheduleRefresh()
131 assertEquals(0, map.refreshNanos); in testDefaults()360 assertEquals(unit.toNanos(duration), map.refreshNanos); in testSetRefresh()2338 assertEquals(localCacheOne.refreshNanos, localCacheTwo.refreshNanos); in testSerializationProxyLoading()