public enum GridClientCacheFlag extends Enum<GridClientCacheFlag>
| Enum Constant and Description |
|---|
INVALIDATE
Switches a cache projection to work in
'invalidation' mode. |
SKIP_STORE
Skips store, i.e.
|
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 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.Copyright © 2014. All rights reserved.