|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DecoratedCacheType>
com.googlecode.ehcache.annotations.DecoratedCacheType
public enum DecoratedCacheType
Defines the type of cache decorator that will be added to the cache as it is iteracted with from the cache interceptor
| Enum Constant Summary | |
|---|---|
NONE
No decorator |
|
REFRESHING_SELF_POPULATING_CACHE
Use RefreshingSelfPopulatingCache |
|
SELF_POPULATING_CACHE
Use SelfPopulatingCache |
|
| Method Summary | |
|---|---|
static DecoratedCacheType |
getDecoratedCacheType(Cacheable ann,
java.lang.reflect.Method method)
Determine the DecoratedCacheType for the cacheable annotation |
static DecoratedCacheType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DecoratedCacheType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DecoratedCacheType NONE
public static final DecoratedCacheType SELF_POPULATING_CACHE
SelfPopulatingCache
public static final DecoratedCacheType REFRESHING_SELF_POPULATING_CACHE
RefreshingSelfPopulatingCache
| Method Detail |
|---|
public static DecoratedCacheType[] values()
for (DecoratedCacheType c : DecoratedCacheType.values()) System.out.println(c);
public static DecoratedCacheType 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 name
java.lang.NullPointerException - if the argument is null
public static DecoratedCacheType getDecoratedCacheType(Cacheable ann,
java.lang.reflect.Method method)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||