org.jboss.cache.eviction
Interface EvictionActionPolicy

All Known Implementing Classes:
DefaultEvictionActionPolicy, RemoveOnEvictActionPolicy

public interface EvictionActionPolicy

Performs an eviction on a given Fqn.

Since:
3.0
Author:
Manik Surtani (manik AT jboss DOT org)

Method Summary
 boolean evict(Fqn fqn)
          Performs an eviction on a given node.
 void setCache(Cache<?,?> cache)
          Sets a reference to the cache.
 

Method Detail

setCache

void setCache(Cache<?,?> cache)
Sets a reference to the cache.

Parameters:
cache - cache

evict

boolean evict(Fqn fqn)
Performs an eviction on a given node.

Parameters:
fqn - fqn to evict
Returns:
true if the eviction was successful, false if not.


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.