public class CacheType
extends java.lang.Enum
Cache
interfaceCache
,
Serialized FormModifier and Type | Field and Description |
---|---|
static CacheType |
DISTRIBUTED_PERMANENT |
static CacheType |
DISTRIBUTED_PERSISTENT |
static CacheType |
DISTRIBUTED_TEMP |
static CacheType |
LOCAL_PERMANENT |
static CacheType |
LOCAL_PERSISTENT |
static CacheType |
LOCAL_TEMP |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isDistributed()
Whether this cache type is distributed or in other-words replicated among the cluster
|
abstract boolean |
isPermanent()
Whether this cache type is permanent or in other-words guaranteed to exist throughout
the session
|
abstract boolean |
isPersistent()
Whether this cache type is persistent or in other-words guaranteed to exist within different
sessions after JVM restart
|
static CacheType |
valueOf(java.lang.String name) |
static CacheType[] |
values() |
public static final CacheType LOCAL_PERSISTENT
public static final CacheType LOCAL_TEMP
public static final CacheType LOCAL_PERMANENT
public static final CacheType DISTRIBUTED_PERSISTENT
public static final CacheType DISTRIBUTED_TEMP
public static final CacheType DISTRIBUTED_PERMANENT
public static CacheType[] values()
public static CacheType valueOf(java.lang.String name)
public abstract boolean isDistributed()
public abstract boolean isPermanent()
public abstract boolean isPersistent()