VMware GemFire Java API Reference
Interface RegionRedundancyStatus
-
- All Superinterfaces:
JsonSerializable,java.io.Serializable
@Experimental public interface RegionRedundancyStatus extends JsonSerializable, java.io.Serializable
Used to calculate and store a snapshot of the redundancy status for a partitioned region.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRegionRedundancyStatus.RedundancyStatusThe redundancy status of the region used to create this object at time of creation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActualRedundancy()Returns the number of redundant copies for all buckets in the region used to create this RegionRedundancyStatus, at the time of creation.intgetConfiguredRedundancy()Returns the configured redundancy level for the region used to create this RegionRedundancyStatus.java.lang.StringgetRegionName()Returns the name of the region used to create this RegionRedundancyStatus.RegionRedundancyStatus.RedundancyStatusgetStatus()Returns theRegionRedundancyStatus.RedundancyStatusfor the region used to create this RegionRedundancyStatus at the time of creation.
-
-
-
Method Detail
-
getRegionName
java.lang.String getRegionName()
Returns the name of the region used to create this RegionRedundancyStatus.- Returns:
- The name of the region used to create this RegionRedundancyStatus.
-
getConfiguredRedundancy
int getConfiguredRedundancy()
Returns the configured redundancy level for the region used to create this RegionRedundancyStatus.- Returns:
- The configured redundancy level for the region used to create this RegionRedundancyStatus.
-
getActualRedundancy
int getActualRedundancy()
Returns the number of redundant copies for all buckets in the region used to create this RegionRedundancyStatus, at the time of creation. If some buckets have fewer redundant copies than others, the lower number is returned.- Returns:
- The number of redundant copies for all buckets in the region used to create this RegionRedundancyStatus, at the time of creation.
-
getStatus
RegionRedundancyStatus.RedundancyStatus getStatus()
Returns theRegionRedundancyStatus.RedundancyStatusfor the region used to create this RegionRedundancyStatus at the time of creation.- Returns:
- The
RegionRedundancyStatus.RedundancyStatusfor the region used to create this RegionRedundancyStatus.
-
-