Class NodeFactory.WWARMS<K,​V>

    • Field Detail

      • queueType

        private int queueType
    • Constructor Detail

      • WWARMS

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

        WWARMS​(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).