public class RemoveOnEvictActionPolicy extends Object implements EvictionActionPolicy
Cache.removeNode(org.jboss.cache.Fqn) to evict a node.| Constructor and Description |
|---|
RemoveOnEvictActionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evict(Fqn fqn)
Performs an eviction on a given node.
|
void |
setCache(Cache<?,?> cache)
Sets a reference to the cache.
|
public void setCache(Cache<?,?> cache)
EvictionActionPolicysetCache in interface EvictionActionPolicycache - cachepublic boolean evict(Fqn fqn)
EvictionActionPolicyevict in interface EvictionActionPolicyfqn - fqn to evictCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.