Class BoundedLocalCache.UpdateTask
- java.lang.Object
-
- com.github.benmanes.caffeine.cache.BoundedLocalCache.UpdateTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- BoundedLocalCache<K,V>
final class BoundedLocalCache.UpdateTask extends java.lang.Object implements java.lang.Runnable
Updates the weighted size and evicts an entry on overflow.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Node<K,V>
node
(package private) int
weightDifference
-
Constructor Summary
Constructors Constructor Description UpdateTask(Node<K,V> node, int weightDifference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-