public enum GridClientCacheFlag extends Enum<GridClientCacheFlag>
| Enum Constant and Description |
|---|
KEEP_PORTABLES
Disable deserialization of portable objects on get operations.
|
SKIP_STORE
Skips store, i.e. no read-through and no write-through behavior.
|
| 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 KEEP_PORTABLES
GridClientData.get(Object)
and GridClientData.getAll(Collection) methods will return
instances of 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.4.0 Release Date : September 24 2015