Gemfire JavaDocs
Enum RegionRedundancyStatus.RedundancyStatus
- java.lang.Object
-
- java.lang.Enum<RegionRedundancyStatus.RedundancyStatus>
-
- org.apache.geode.management.runtime.RegionRedundancyStatus.RedundancyStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RegionRedundancyStatus.RedundancyStatus>
- Enclosing interface:
- RegionRedundancyStatus
public static enum RegionRedundancyStatus.RedundancyStatus extends java.lang.Enum<RegionRedundancyStatus.RedundancyStatus>
The redundancy status of the region used to create this object at time of creation.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 Summary
Enum Constants Enum Constant Description NO_REDUNDANT_COPIES
NOT_SATISFIED
SATISFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegionRedundancyStatus.RedundancyStatus
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
SATISFIED
public static final RegionRedundancyStatus.RedundancyStatus SATISFIED
-
NOT_SATISFIED
public static final RegionRedundancyStatus.RedundancyStatus NOT_SATISFIED
-
NO_REDUNDANT_COPIES
public static final RegionRedundancyStatus.RedundancyStatus NO_REDUNDANT_COPIES
-
-
Method Detail
-
values
public static RegionRedundancyStatus.RedundancyStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RegionRedundancyStatus.RedundancyStatus c : RegionRedundancyStatus.RedundancyStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegionRedundancyStatus.RedundancyStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-