public static enum CacheInfo.Type extends Enum<CacheInfo.Type>
Enum Constant and Description |
---|
distributed
An distributed-scheme defines caches where the storage for entries is partitioned across cluster nodes.
|
optimistic
OptimisticCache is a clustered cache implementation similar to the ReplicatedCache implementation, but
without any concurrency control.
|
replicated
Data is fully replicated to every member in the cluster.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static CacheInfo.Type |
valueof(String name) |
static CacheInfo.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheInfo.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheInfo.Type replicated
public static final CacheInfo.Type optimistic
distributed
is a better option.public static final CacheInfo.Type distributed
public static CacheInfo.Type[] values()
for (CacheInfo.Type c : CacheInfo.Type.values()) System.out.println(c);
public static CacheInfo.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CacheInfo.Type valueof(String name)
public String getName()
Copyright © 2003-2008 Jive Software.