Class NodeFactory.WStAWMW<K,V>

All Implemented Interfaces:
AccessOrderDeque.AccessOrder<Node<K,V>>, Node<K,V>, WriteOrderDeque.WriteOrder<Node<K,V>>
Enclosing class:
NodeFactory

static final class NodeFactory.WStAWMW<K,V> extends NodeFactory.WStAW<K,V>
  • Field Details

    • queueType

      private int queueType
    • weight

      private int weight
    • policyWeight

      private int policyWeight
  • Constructor Details

  • Method Details

    • getQueueType

      public final int getQueueType()
      Description copied from interface: Node
      Returns the queue that the entry's resides in (eden, probation, or protected).
    • setQueueType

      public final void setQueueType(int queueType)
      Description copied from interface: Node
      Set queue that the entry resides in (eden, probation, or protected).
    • getWeight

      public final int getWeight()
      Description copied from interface: Node
      Returns the weight of this entry from the entry's perspective.
    • setWeight

      public final void setWeight(int weight)
      Description copied from interface: Node
      Sets the weight from the entry's perspective.
    • getPolicyWeight

      public final int getPolicyWeight()
      Description copied from interface: Node
      Returns the weight of this entry from the policy's perspective.
    • setPolicyWeight

      public final void setPolicyWeight(int policyWeight)
      Description copied from interface: Node
      Sets the weight from the policy's perspective.