Interface RegionRedundancyStatus

All Superinterfaces:
JsonSerializable, Serializable

@Experimental public interface RegionRedundancyStatus extends JsonSerializable, Serializable
Used to calculate and store a snapshot of the redundancy status for a partitioned region.
  • Method Details

    • getRegionName

      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

      Returns the RegionRedundancyStatus.RedundancyStatus for the region used to create this RegionRedundancyStatus at the time of creation.
      Returns:
      The RegionRedundancyStatus.RedundancyStatus for the region used to create this RegionRedundancyStatus.