public enum CacheDistributionMode extends Enum<CacheDistributionMode>
| Enum Constant and Description |
|---|
CLIENT_ONLY
Mode in which local node does not cache any data and communicates with other cache nodes
via remote calls.
|
NEAR_ONLY
Mode in which local node will not be either primary or backup node for any keys, but will cache
recently accessed keys in a smaller near cache.
|
NEAR_PARTITIONED
Mode in which local node may store primary and/or backup keys, and also will cache recently accessed keys.
|
PARTITIONED_ONLY
Mode in which local node may store primary or backup keys, but does not cache recently accessed keys
in near cache.
|
| Modifier and Type | Method and Description |
|---|---|
static CacheDistributionMode |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static CacheDistributionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheDistributionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheDistributionMode CLIENT_ONLY
public static final CacheDistributionMode NEAR_ONLY
public static final CacheDistributionMode NEAR_PARTITIONED
public static final CacheDistributionMode PARTITIONED_ONLY
public static CacheDistributionMode[] values()
for (CacheDistributionMode c : CacheDistributionMode.values()) System.out.println(c);
public static CacheDistributionMode 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 CacheDistributionMode fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015