public enum GridClientCacheFlag extends Enum<GridClientCacheFlag>
| Enum Constant and Description |
|---|
INVALIDATE
Switches a cache projection to work in
'invalidation' mode. |
KEEP_PORTABLES
Disable deserialization of portable objects on get operations.
|
SKIP_STORE
Skips store, i.e. no read-through and no write-through behavior.
|
SKIP_SWAP
Skip swap space for reads and writes.
|
SYNC_COMMIT
Synchronous commit.
|
| Modifier and Type | Method and Description |
|---|---|
static GridClientCacheFlag |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static GridClientCacheFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridClientCacheFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridClientCacheFlag SKIP_STORE
public static final GridClientCacheFlag SKIP_SWAP
public static final GridClientCacheFlag SYNC_COMMIT
public static final GridClientCacheFlag INVALIDATE
'invalidation' mode.
Instead of updating remote entries with new values, small invalidation
messages will be sent to set the values to null.public static final GridClientCacheFlag KEEP_PORTABLES
GridClientData.get(Object)
and GridClientData.getAll(Collection) methods will return
instances of org.gridgain.grid.portables.PortableObject class instead of user objects.
Use this flag if you don't have corresponding class on your client of
if you want to get access to some individual fields, but do not want to
fully deserialize the object.public static GridClientCacheFlag[] values()
for (GridClientCacheFlag c : GridClientCacheFlag.values()) System.out.println(c);
public static GridClientCacheFlag 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 GridClientCacheFlag fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015