VMware GemFire Java API Reference
Package org.apache.geode.cache.partition
Interface PartitionRegionInfo
-
public interface PartitionRegionInfoInformation describing the data storage and distribution of a partitioned region. ThePartitionRegionHelperis used to gatherPartitionRegionInfo. Each instance describes a single partitioned region identified bygetRegionPath().This is an immutable snapshot of the information.
- Since:
- GemFire 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetActualRedundantCopies()Returns the lowest number of redundant copies for any bucket holding data for the partitioned region.java.lang.StringgetColocatedWith()Returns thefull pathof the partitioned region that this region has been configured to becolocated withor null if it is not colocated.intgetConfiguredBucketCount()Returns theconfigured number of bucketsfor the partitioned region.intgetConfiguredRedundantCopies()Returns the number ofredundant copiesthe partitioned region was configured for.intgetCreatedBucketCount()Returns the number of actual buckets that have been created to hold data for the partitioned region.intgetLowRedundancyBucketCount()Returns the number of created buckets that have fewer than theconfigured redundant copiesfor this partitioned region.java.util.Set<PartitionMemberInfo>getPartitionMemberInfo()Returns an immutable set ofPartitionMemberInforepresenting every member that is configured to provide storage space to the partitioned region.java.lang.StringgetRegionPath()Returns thefull pathof the partitioned region that this object describes.
-
-
-
Method Detail
-
getRegionPath
java.lang.String getRegionPath()
Returns thefull pathof the partitioned region that this object describes.- Returns:
- the full path of the partitioned region that this info describes
-
getPartitionMemberInfo
java.util.Set<PartitionMemberInfo> getPartitionMemberInfo()
Returns an immutable set ofPartitionMemberInforepresenting every member that is configured to provide storage space to the partitioned region.- Returns:
- set of member info configured for storage space
-
getConfiguredBucketCount
int getConfiguredBucketCount()
Returns theconfigured number of bucketsfor the partitioned region.- Returns:
- the configured number of buckets
-
getCreatedBucketCount
int getCreatedBucketCount()
Returns the number of actual buckets that have been created to hold data for the partitioned region. This is less than or equal to {#link #getConfiguredBucketCount()}.- Returns:
- the current number of actual buckets that have been created
-
getLowRedundancyBucketCount
int getLowRedundancyBucketCount()
Returns the number of created buckets that have fewer than theconfigured redundant copiesfor this partitioned region.- Returns:
- the number of created buckets that have fewer than the configured redundant copies
- See Also:
getActualRedundantCopies()
-
getConfiguredRedundantCopies
int getConfiguredRedundantCopies()
Returns the number ofredundant copiesthe partitioned region was configured for.- Returns:
- the number of redundant copies the partitioned region was configured for
-
getActualRedundantCopies
int getActualRedundantCopies()
Returns the lowest number of redundant copies for any bucket holding data for the partitioned region. If all data is currently at full redundancy then this will return the same value asgetConfiguredRedundantCopies().- Returns:
- the lowest number of redundant copies for any bucket of the partitioned region.
-
getColocatedWith
java.lang.String getColocatedWith()
Returns thefull pathof the partitioned region that this region has been configured to becolocated withor null if it is not colocated.- Returns:
- the full path of the partitioned region that the region is colocated with or null if there is none.
-
-