Class RemovalNotification<K,​V>

  • All Implemented Interfaces:
    Serializable, Map.Entry<K,​V>

    public final class RemovalNotification<K,​V>
    extends AbstractMap.SimpleImmutableEntry<K,​V>
    A notification of the removal of a single entry. The key and/or value may be null if they were already garbage collected.

    Like other Entry instances associated with CacheBuilder, this class holds strong references to the key and value, regardless of the type of references the cache may be using.

    Charles Fry
    See Also:
    Serialized Form