Class NodeFactory.WStAWR<K,​V>

    • Constructor Detail

      • WStAWR

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

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

      • casWriteTime

        public final boolean casWriteTime​(long expect,
                                          long update)
        Description copied from interface: Node
        Atomically sets the write time to the given updated value if the current value equals the expected value and returns if the update was successful.