|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CacheConfig.CacheScope>
org.dspace.services.model.CacheConfig.CacheScope
public static enum CacheConfig.CacheScope
Controls the scope of each created cache.
| Enum Constant Summary | |
|---|---|
CLUSTERINVALIDATED
This cache is destroyed when the entire cluster goes down. |
|
CLUSTERREPLICATED
This cache is destroyed when the entire cluster goes down. |
|
INSTANCE
This cache is destroyed when the current JVM shuts down. |
|
REQUEST
This cache is destroyed at the end of the current request for the current thread it was created in. |
|
| Method Summary | |
|---|---|
static CacheConfig.CacheScope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CacheConfig.CacheScope[] |
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 CacheConfig.CacheScope REQUEST
public static final CacheConfig.CacheScope INSTANCE
public static final CacheConfig.CacheScope CLUSTERINVALIDATED
public static final CacheConfig.CacheScope CLUSTERREPLICATED
| Method Detail |
|---|
public static CacheConfig.CacheScope[] values()
for (CacheConfig.CacheScope c : CacheConfig.CacheScope.values()) System.out.println(c);
public static CacheConfig.CacheScope valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||