public static enum RegionRedundancyStatus.RedundancyStatus extends Enum<RegionRedundancyStatus.RedundancyStatus>
SATISFIED
if every bucket in the region has the configured number of redundant copies.
NOT_SATISFIED
if at least one bucket in the region has less than the configured number
of redundant copies.
NO_REDUNDANT_COPIES
if at least one bucket in the region has zero redundant copies and
the region is not configured for zero redundancy.Enum Constant and Description |
---|
NO_REDUNDANT_COPIES |
NOT_SATISFIED |
SATISFIED |
Modifier and Type | Method and Description |
---|---|
static RegionRedundancyStatus.RedundancyStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionRedundancyStatus.RedundancyStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionRedundancyStatus.RedundancyStatus SATISFIED
public static final RegionRedundancyStatus.RedundancyStatus NOT_SATISFIED
public static final RegionRedundancyStatus.RedundancyStatus NO_REDUNDANT_COPIES
public static RegionRedundancyStatus.RedundancyStatus[] values()
for (RegionRedundancyStatus.RedundancyStatus c : RegionRedundancyStatus.RedundancyStatus.values()) System.out.println(c);
public static RegionRedundancyStatus.RedundancyStatus 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