- empty() - Static method in class com.github.benmanes.caffeine.cache.stats.CacheStats
- 
Returns a statistics instance where no cache events have been recorded. 
- equals(Object) - Method in class com.github.benmanes.caffeine.cache.CaffeineSpec
-  
- equals(Object) - Method in class com.github.benmanes.caffeine.cache.stats.CacheStats
-  
- estimatedSize() - Method in interface com.github.benmanes.caffeine.cache.Cache
- 
Returns the approximate number of entries in this cache. 
- eviction() - Method in interface com.github.benmanes.caffeine.cache.Policy
- 
Returns access to perform operations based on the maximum size or maximum weight eviction
 policy. 
- evictionCount() - Method in class com.github.benmanes.caffeine.cache.stats.CacheStats
- 
Returns the number of times an entry has been evicted. 
- evictionWeight() - Method in class com.github.benmanes.caffeine.cache.stats.CacheStats
- 
Returns the sum of weights of evicted entries. 
- executor(Executor) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies the executor to use when running asynchronous tasks. 
- expireAfter(Expiry<? super K1, ? super V1>) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies that each entry should be automatically removed from the cache once a duration has
 elapsed after the entry's creation, the most recent replacement of its value, or its last
 read. 
- expireAfterAccess(Duration) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies that each entry should be automatically removed from the cache once a fixed duration
 has elapsed after the entry's creation, the most recent replacement of its value, or its last
 read. 
- expireAfterAccess(long, TimeUnit) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies that each entry should be automatically removed from the cache once a fixed duration
 has elapsed after the entry's creation, the most recent replacement of its value, or its last
 read. 
- expireAfterAccess() - Method in interface com.github.benmanes.caffeine.cache.Policy
- 
Returns access to perform operations based on the time-to-idle expiration policy. 
- expireAfterCreate(K, V, long) - Method in interface com.github.benmanes.caffeine.cache.Expiry
- 
Specifies that the entry should be automatically removed from the cache once the duration has
 elapsed after the entry's creation. 
- expireAfterRead(K, V, long, long) - Method in interface com.github.benmanes.caffeine.cache.Expiry
- 
Specifies that the entry should be automatically removed from the cache once the duration has
 elapsed after its last read. 
- expireAfterUpdate(K, V, long, long) - Method in interface com.github.benmanes.caffeine.cache.Expiry
- 
Specifies that the entry should be automatically removed from the cache once the duration has
 elapsed after the replacement of its value. 
- expireAfterWrite(Duration) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies that each entry should be automatically removed from the cache once a fixed duration
 has elapsed after the entry's creation, or the most recent replacement of its value. 
- expireAfterWrite(long, TimeUnit) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies that each entry should be automatically removed from the cache once a fixed duration
 has elapsed after the entry's creation, or the most recent replacement of its value. 
- expireAfterWrite() - Method in interface com.github.benmanes.caffeine.cache.Policy
- 
Returns access to perform operations based on the time-to-live expiration policy. 
- expireVariably() - Method in interface com.github.benmanes.caffeine.cache.Policy
- 
Returns access to perform operations based on the variable expiration policy. 
- Expiry<K,V> - Interface in com.github.benmanes.caffeine.cache
- 
Calculates when cache entries expire. 
- get(K, Function<? super K, ? extends V>) - Method in interface com.github.benmanes.caffeine.cache.AsyncLoadingCache
- 
Returns the future associated with keyin this cache, obtaining that value frommappingFunctionif necessary.
 
- get(K, BiFunction<? super K, Executor, CompletableFuture<V>>) - Method in interface com.github.benmanes.caffeine.cache.AsyncLoadingCache
- 
Returns the future associated with keyin this cache, obtaining that value frommappingFunctionif necessary.
 
- get(K) - Method in interface com.github.benmanes.caffeine.cache.AsyncLoadingCache
- 
- get(K, Function<? super K, ? extends V>) - Method in interface com.github.benmanes.caffeine.cache.Cache
- 
Returns the value associated with the keyin this cache, obtaining that value from themappingFunctionif necessary.
 
- get(K) - Method in interface com.github.benmanes.caffeine.cache.LoadingCache
- 
Returns the value associated with the  key in this cache, obtaining that value from
  CacheLoader.load(Object) if necessary. 
- getAll(Iterable<? extends K>) - Method in interface com.github.benmanes.caffeine.cache.AsyncLoadingCache
- 
Returns the future of a map of the values associated with keys, creating or retrieving
 those values if necessary.
 
- getAll(Iterable<? extends K>) - Method in interface com.github.benmanes.caffeine.cache.LoadingCache
- 
Returns a map of the values associated with the keys, creating or retrieving those
 values if necessary.
 
- getAllPresent(Iterable<?>) - Method in interface com.github.benmanes.caffeine.cache.Cache
- 
Returns a map of the values associated with the keysin this cache.
 
- getExpiresAfter(TimeUnit) - Method in interface com.github.benmanes.caffeine.cache.Policy.Expiration
- 
Returns the fixed duration used to determine if an entry should be automatically removed due
 to elapsing this time bound. 
- getExpiresAfter() - Method in interface com.github.benmanes.caffeine.cache.Policy.Expiration
- 
Returns the fixed duration used to determine if an entry should be automatically removed due
 to elapsing this time bound. 
- getExpiresAfter(K, TimeUnit) - Method in interface com.github.benmanes.caffeine.cache.Policy.VarExpiration
- 
Returns the duration until the entry should be automatically removed. 
- getExpiresAfter(K) - Method in interface com.github.benmanes.caffeine.cache.Policy.VarExpiration
- 
Returns the duration until the entry should be automatically removed. 
- getIfPresent(Object) - Method in interface com.github.benmanes.caffeine.cache.AsyncLoadingCache
- 
Returns the future associated with keyin this cache, ornullif there is no
 cached future forkey.
 
- getIfPresent(Object) - Method in interface com.github.benmanes.caffeine.cache.Cache
- 
Returns the value associated with the keyin this cache, ornullif there is no
 cached value for thekey.
 
- getMaximum() - Method in interface com.github.benmanes.caffeine.cache.Policy.Eviction
- 
Returns the maximum total weighted or unweighted size of this cache, depending on how the
 cache was constructed. 
- guardedStatsCounter(StatsCounter) - Static method in interface com.github.benmanes.caffeine.cache.stats.StatsCounter
- 
Returns an accumulator that suppresses and logs any exception thrown by the delegate
 statsCounter. 
- parse(String) - Static method in class com.github.benmanes.caffeine.cache.CaffeineSpec
- 
Creates a CaffeineSpec from a string. 
- peek() - Method in class com.github.benmanes.caffeine.SingleConsumerQueue
-  
- plus(CacheStats) - Method in class com.github.benmanes.caffeine.cache.stats.CacheStats
- 
Returns a new CacheStatsrepresenting the sum of thisCacheStatsandother.
 
- policy() - Method in interface com.github.benmanes.caffeine.cache.Cache
- 
Returns access to inspect and perform low-level operations on this cache based on its runtime
 characteristics. 
- Policy<K,V> - Interface in com.github.benmanes.caffeine.cache
- 
An access point for inspecting and performing low-level operations based on the cache's runtime
 characteristics. 
- Policy.Eviction<K,V> - Interface in com.github.benmanes.caffeine.cache
- 
The low-level operations for a cache with a size-based eviction policy. 
- Policy.Expiration<K,V> - Interface in com.github.benmanes.caffeine.cache
- 
The low-level operations for a cache with a fixed expiration policy. 
- Policy.VarExpiration<K,V> - Interface in com.github.benmanes.caffeine.cache
- 
The low-level operations for a cache with a variable expiration policy. 
- poll() - Method in class com.github.benmanes.caffeine.SingleConsumerQueue
-  
- put(K, CompletableFuture<V>) - Method in interface com.github.benmanes.caffeine.cache.AsyncLoadingCache
- 
Associates valuewithkeyin this cache.
 
- put(K, V) - Method in interface com.github.benmanes.caffeine.cache.Cache
- 
Associates the valuewith thekeyin this cache.
 
- put(K, V, long, TimeUnit) - Method in interface com.github.benmanes.caffeine.cache.Policy.VarExpiration
- 
Associates the valuewith thekeyin this cache.
 
- put(K, V, Duration) - Method in interface com.github.benmanes.caffeine.cache.Policy.VarExpiration
- 
Associates the valuewith thekeyin this cache.
 
- putAll(Map<? extends K, ? extends V>) - Method in interface com.github.benmanes.caffeine.cache.Cache
- 
Copies all of the mappings from the specified map to the cache. 
- putIfAbsent(K, V, long, TimeUnit) - Method in interface com.github.benmanes.caffeine.cache.Policy.VarExpiration
- 
Associates the valuewith thekeyin this cache if the specified key is not
 already associated with a value.
 
- putIfAbsent(K, V, Duration) - Method in interface com.github.benmanes.caffeine.cache.Policy.VarExpiration
- 
Associates the valuewith thekeyin this cache if the specified key is not
 already associated with a value.
 
- read() - Method in interface com.github.benmanes.caffeine.cache.Ticker
- 
Returns the number of nanoseconds elapsed since this ticker's fixed point of reference. 
- recordEviction() - Method in class com.github.benmanes.caffeine.cache.stats.ConcurrentStatsCounter
-  
- recordEviction(int) - Method in class com.github.benmanes.caffeine.cache.stats.ConcurrentStatsCounter
-  
- recordEviction() - Method in interface com.github.benmanes.caffeine.cache.stats.StatsCounter
- 
- recordEviction(int) - Method in interface com.github.benmanes.caffeine.cache.stats.StatsCounter
- 
Records the eviction of an entry from the cache. 
- recordHits(int) - Method in class com.github.benmanes.caffeine.cache.stats.ConcurrentStatsCounter
-  
- recordHits(int) - Method in interface com.github.benmanes.caffeine.cache.stats.StatsCounter
- 
Records cache hits. 
- recordLoadFailure(long) - Method in class com.github.benmanes.caffeine.cache.stats.ConcurrentStatsCounter
-  
- recordLoadFailure(long) - Method in interface com.github.benmanes.caffeine.cache.stats.StatsCounter
- 
Records the failed load of a new entry. 
- recordLoadSuccess(long) - Method in class com.github.benmanes.caffeine.cache.stats.ConcurrentStatsCounter
-  
- recordLoadSuccess(long) - Method in interface com.github.benmanes.caffeine.cache.stats.StatsCounter
- 
Records the successful load of a new entry. 
- recordMisses(int) - Method in class com.github.benmanes.caffeine.cache.stats.ConcurrentStatsCounter
-  
- recordMisses(int) - Method in interface com.github.benmanes.caffeine.cache.stats.StatsCounter
- 
Records cache misses. 
- recordStats() - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Enables the accumulation of  CacheStats during the operation of the cache. 
- recordStats(Supplier<? extends StatsCounter>) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Enables the accumulation of  CacheStats during the operation of the cache. 
- refresh(K) - Method in interface com.github.benmanes.caffeine.cache.LoadingCache
- 
Loads a new value for the key, asynchronously.
 
- refreshAfterWrite(Duration) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies that active entries are eligible for automatic refresh once a fixed duration has
 elapsed after the entry's creation, or the most recent replacement of its value. 
- refreshAfterWrite(long, TimeUnit) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies that active entries are eligible for automatic refresh once a fixed duration has
 elapsed after the entry's creation, or the most recent replacement of its value. 
- refreshAfterWrite() - Method in interface com.github.benmanes.caffeine.cache.Policy
- 
Returns access to perform operations based on the time-to-live refresh policy. 
- reload(K, V) - Method in interface com.github.benmanes.caffeine.cache.CacheLoader
- 
Computes or retrieves a replacement value corresponding to an already-cached key.
 
- RemovalCause - Enum in com.github.benmanes.caffeine.cache
- 
The reason why a cached entry was removed. 
- removalListener(RemovalListener<? super K1, ? super V1>) - Method in class com.github.benmanes.caffeine.cache.Caffeine
- 
Specifies a listener instance that caches should notify each time an entry is removed for any
  reason. 
- RemovalListener<K,V> - Interface in com.github.benmanes.caffeine.cache
- 
An object that can receive a notification when an entry is removed from a cache. 
- requestCount() - Method in class com.github.benmanes.caffeine.cache.stats.CacheStats
- 
Returns the number of times  Cache lookup methods have returned either a cached or
 uncached value.