public static enum ResinCacheBuilder.Persistence extends java.lang.Enum<ResinCacheBuilder.Persistence>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ResinCacheBuilder.Persistence NONE
public static final ResinCacheBuilder.Persistence SINGLE
public static final ResinCacheBuilder.Persistence TRIPLE
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 namejava.lang.NullPointerException
- if the argument is null