org.ehcache.config
Class Eviction

java.lang.Object
  extended by org.ehcache.config.Eviction

public final class Eviction
extends java.lang.Object

Utility class for getting predefined EvictionAdvisor instances.


Constructor Summary
Eviction()
           
 
Method Summary
static
<K,V> EvictionAdvisor<K,V>
noAdvice()
          Returns an EvictionAdvisor where no mappings are advised against eviction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Eviction

public Eviction()
Method Detail

noAdvice

public static <K,V> EvictionAdvisor<K,V> noAdvice()
Returns an EvictionAdvisor where no mappings are advised against eviction.

Type Parameters:
K - the key type for the advisor
V - the value type for the advisor
Returns:
an advisor where no mappings are advised against eviction