|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResinCacheBuilder.Scope>
com.caucho.distcache.ResinCacheBuilder.Scope
public static enum ResinCacheBuilder.Scope
Defines the scope options for a cache.
Enum Constant Summary | |
---|---|
CLUSTER
Distributed across a cluster, persistence required. |
|
LOCAL
Not distributed, single or no persistence |
|
TRANSIENT
Not distributed, no persistence. |
Method Summary | |
---|---|
static ResinCacheBuilder.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResinCacheBuilder.Scope[] |
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 ResinCacheBuilder.Scope TRANSIENT
public static final ResinCacheBuilder.Scope LOCAL
public static final ResinCacheBuilder.Scope CLUSTER
Method Detail |
---|
public static ResinCacheBuilder.Scope[] values()
for (ResinCacheBuilder.Scope c : ResinCacheBuilder.Scope.values()) System.out.println(c);
public static ResinCacheBuilder.Scope 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |