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 EvictionVeto instance.


Constructor Summary
Eviction()
           
 
Method Summary
static
<K,V> EvictionVeto<K,V>
none()
          Returns an EvictionVeto where no mappings are vetoed from 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

none

public static <K,V> EvictionVeto<K,V> none()
Returns an EvictionVeto where no mappings are vetoed from eviction.

Type Parameters:
K - the key type on which this veto applies
V - the value type on whivh this veto applies
Returns:
a veto for no mappings