Class BoundedLocalCache.AddTask

java.lang.Object
com.github.benmanes.caffeine.cache.BoundedLocalCache.AddTask
All Implemented Interfaces:
Runnable
Enclosing class:
BoundedLocalCache<K,V>

final class BoundedLocalCache.AddTask extends Object implements Runnable
Adds the node to the page replacement policy.
  • Field Details

    • node

      final Node<K,V> node
    • weight

      final int weight
  • Constructor Details

    • AddTask

      AddTask(Node<K,V> node, int weight)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable