Class NodeFactory.SSoWRMS<K,​V>

    • Field Detail

      • queueType

        private int queueType
      • previousInAccessOrder

        private Node<K,​V> previousInAccessOrder
      • nextInAccessOrder

        private Node<K,​V> nextInAccessOrder
    • Constructor Detail

      • SSoWRMS

        SSoWRMS​(K key,
                java.lang.ref.ReferenceQueue<K> keyReferenceQueue,
                V value,
                java.lang.ref.ReferenceQueue<V> valueReferenceQueue,
                int weight,
                long now)
      • SSoWRMS

        SSoWRMS​(java.lang.Object keyReference,
                V value,
                java.lang.ref.ReferenceQueue<V> valueReferenceQueue,
                int weight,
                long now)
    • Method Detail

      • 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).
      • getPreviousInAccessOrder

        public final Node<K,​V> getPreviousInAccessOrder()
        Description copied from interface: AccessOrderDeque.AccessOrder
        Retrieves the previous element or null if either the element is unlinked or the first element on the deque.
      • setPreviousInAccessOrder

        public final void setPreviousInAccessOrder​(Node<K,​V> previousInAccessOrder)
        Description copied from interface: AccessOrderDeque.AccessOrder
        Sets the previous element or null if there is no link.
      • getNextInAccessOrder

        public final Node<K,​V> getNextInAccessOrder()
        Description copied from interface: AccessOrderDeque.AccessOrder
        Retrieves the next element or null if either the element is unlinked or the last element on the deque.
      • setNextInAccessOrder

        public final void setNextInAccessOrder​(Node<K,​V> nextInAccessOrder)
        Description copied from interface: AccessOrderDeque.AccessOrder
        Sets the next element or null if there is no link.