Interface Remover<K>


  • public interface Remover<K>
    Removes an entry from the cache
    Author:
    Paul Ferraro
    • Method Detail

      • remove

        boolean remove​(K id)
        Removes the specified entry from the cache.
        Parameters:
        id - the cache entry identifier.
        Returns:
        true, if the entry was removed.
      • purge

        default boolean purge​(K id)
        Like remove(Object), but does not notify listeners.
        Parameters:
        id - the cache entry identifier.
        Returns:
        true, if the entry was removed.