Package org.wildfly.clustering.ee
Interface Remover<K>
-
public interface Remover<K>Removes an entry from the cache- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanpurge(K id)Likeremove(Object), but does not notify listeners.booleanremove(K id)Removes the specified entry from the cache.
-
-
-
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)
Likeremove(Object), but does not notify listeners.- Parameters:
id- the cache entry identifier.- Returns:
- true, if the entry was removed.
-
-