|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ResinCacheBuilder.Persistence>
com.caucho.distcache.ResinCacheBuilder.Persistence
public static enum ResinCacheBuilder.Persistence
Defines the persistence options for a cache.
| Enum Constant Summary | |
|---|---|
NONE
No persistence. |
|
SINGLE
A single copy of the cache is persisted on one server in the cluster. |
|
TRIPLE
Three copies of the cache and its entrys are saved on three servers. |
|
| Method Summary | |
|---|---|
static ResinCacheBuilder.Persistence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ResinCacheBuilder.Persistence[] |
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.Persistence NONE
public static final ResinCacheBuilder.Persistence SINGLE
public static final ResinCacheBuilder.Persistence TRIPLE
| Method Detail |
|---|
public static ResinCacheBuilder.Persistence[] values()
for (ResinCacheBuilder.Persistence c : ResinCacheBuilder.Persistence.values()) System.out.println(c);
public static ResinCacheBuilder.Persistence 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 | |||||||||