public enum GridDhtPartitionState extends Enum<GridDhtPartitionState>
Enum Constant and Description |
---|
EVICTED
Partition has been evicted from cache.
|
LOST
Partition state is invalid, partition should not be used.
|
MOVING
Partition is being loaded from another node.
|
OWNING
This node is either a primary or backup owner.
|
RENTING
This node is neither primary or back up owner.
|
Modifier and Type | Method and Description |
---|---|
boolean |
active() |
static GridDhtPartitionState |
fromOrdinal(int ord) |
static GridDhtPartitionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridDhtPartitionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridDhtPartitionState MOVING
public static final GridDhtPartitionState OWNING
public static final GridDhtPartitionState RENTING
public static final GridDhtPartitionState EVICTED
public static final GridDhtPartitionState LOST
public static GridDhtPartitionState[] values()
for (GridDhtPartitionState c : GridDhtPartitionState.values()) System.out.println(c);
public static GridDhtPartitionState 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 GridDhtPartitionState fromOrdinal(int ord)
ord
- Ordinal value.public boolean active()
True
if state is active or owning.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017