Class BoundedLocalCache.AddTask

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    BoundedLocalCache<K,​V>

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

      Fields 
      Modifier and Type Field Description
      (package private) Node<K,​V> node  
      (package private) int weight  
    • Constructor Summary

      Constructors 
      Constructor Description
      AddTask​(Node<K,​V> node, int weight)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • node

        final Node<K,​V> node
      • weight

        final int weight
    • Constructor Detail

      • AddTask

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

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable