public enum GridCachePeekMode extends Enum<GridCachePeekMode>
| Enum Constant and Description |
|---|
DB
Peek value from the underlying persistent storage without loading this value into cache.
|
GLOBAL
Peeks at cache global (not in-transaction) memory.
|
NEAR_ONLY
Peek value from near cache only (don't peek from partitioned cache).
|
PARTITIONED_ONLY
Peek value from partitioned cache only (skip near cache).
|
SMART
|
SWAP
Peeks value only from off-heap or cache swap storage without loading swapped value into cache.
|
TX
Peeks value only from in-transaction memory of an ongoing transaction, if any.
|
| Modifier and Type | Method and Description |
|---|---|
static GridCachePeekMode |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridCachePeekMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridCachePeekMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridCachePeekMode TX
public static final GridCachePeekMode GLOBAL
public static final GridCachePeekMode SMART
public static final GridCachePeekMode SWAP
public static final GridCachePeekMode DB
public static final GridCachePeekMode NEAR_ONLY
CacheMode.LOCAL or CacheMode.REPLICATED cache,
behaves as GLOBAL mode.public static final GridCachePeekMode PARTITIONED_ONLY
CacheMode.LOCAL or CacheMode.REPLICATED cache,
behaves as GLOBAL mode.public static GridCachePeekMode[] values()
for (GridCachePeekMode c : GridCachePeekMode.values()) System.out.println(c);
public static GridCachePeekMode 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@Nullable public static GridCachePeekMode fromOrdinal(byte ord)
ord - Ordinal value.null if ordinal out of range.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015