public enum CacheMemoryMode extends Enum<CacheMemoryMode>
Enum Constant and Description |
---|
OFFHEAP_TIERED
Works the same as
ONHEAP_TIERED , except that entries never end up in heap memory and get
stored in offheap memory right away. |
OFFHEAP_VALUES
Entry keys will be stored on heap memory, and values will be stored in offheap memory.
|
ONHEAP_TIERED
Entries will be stored on-heap first.
|
Modifier and Type | Method and Description |
---|---|
static CacheMemoryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheMemoryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheMemoryMode ONHEAP_TIERED
Note that heap memory evictions are handled by configured EvictionPolicy
implementation. By default, no eviction policy is enabled, so entries never leave heap
memory space unless explicitly removed.
public static final CacheMemoryMode OFFHEAP_TIERED
ONHEAP_TIERED
, except that entries never end up in heap memory and get
stored in offheap memory right away. Entries get cached in offheap memory first and then
get evicted to swap, if one is configured.public static final CacheMemoryMode OFFHEAP_VALUES
EvictionPolicy
.public static CacheMemoryMode[] values()
for (CacheMemoryMode c : CacheMemoryMode.values()) System.out.println(c);
public static CacheMemoryMode 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 null
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015