Interface AbstractReferencedValueMap.ReferencableValue<K,​V>

    • Method Detail

      • isEnqueued

        boolean isEnqueued()
        Replies if a value is enqueued.
        Returns:
        if the value is enqueued into a reference queue.
      • get

        V get()
        Replies the value.
        Returns:
        the weak/soft reference.
      • enqueue

        boolean enqueue()
        Enqueue the value.
        Returns:
        if the value was enqueued
      • clear

        void clear()
        Clear the reference.