public enum ECacheThreadSupport extends java.lang.Enum<ECacheThreadSupport>
| Enum Constant and Description | 
|---|
NONE
No synchronization. 
 | 
SYNCHRONIZED
Java synchronization (i.e. 
 | 
THREADLOCAL
Thread local implementation, i.e. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<K,V,X extends java.lang.Exception> | 
createCache(java.lang.String name,
           IParameterizedFactory<V,K,X> factory,
           ICacheBackend<K,V> backend)
Factory method for creating a cache from a synchronization strategy. 
 | 
static ECacheThreadSupport | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static ECacheThreadSupport[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ECacheThreadSupport NONE
public static final ECacheThreadSupport SYNCHRONIZED
public static final ECacheThreadSupport THREADLOCAL
public static ECacheThreadSupport[] values()
for (ECacheThreadSupport c : ECacheThreadSupport.values()) System.out.println(c);
public static ECacheThreadSupport valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic <K,V,X extends java.lang.Exception> ICache<K,V,X> createCache(java.lang.String name, IParameterizedFactory<V,K,X> factory, ICacheBackend<K,V> backend)