public interface PartitionAttributes<K,V>
RegionAttributes.getPartitionAttributes()
as well
as the configuration of a Partitioned Region using AttributesFactory.setPartitionAttributes(PartitionAttributes)
.
PartitionAttributes are created using the PartitionAttributesFactory
The default PartitionAttributes can be determined using PartitionAttributesFactory.create()
with out
calling any of its mutator methods e.g. PartitionAttributesFactory.setLocalMaxMemory(int)
Also see DataPolicy.PARTITION
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColocatedWith()
Returns name of the colocated PartitionedRegion's name
|
java.util.List<FixedPartitionAttributes> |
getFixedPartitionAttributes()
Returns
FixedPartitionAttributes 's list of local partitions
defined on this Partitioned Region |
java.util.Properties |
getGlobalProperties()
Deprecated.
use
getTotalMaxMemory() and getTotalNumBuckets() in GemFire 5.1 and later releases |
int |
getLocalMaxMemory()
This method returns the maximum amount of local memory that can be used
by the Region.
|
java.util.Properties |
getLocalProperties()
Deprecated.
use
getLocalMaxMemory() in GemFire 5.1 and later releases |
PartitionListener[] |
getPartitionListeners()
Returns array of PartitionListener{s} configured on this partitioned region
|
PartitionResolver<K,V> |
getPartitionResolver()
Returns the PartitionResolver set for custom partitioning
|
long |
getRecoveryDelay()
Returns the delay in milliseconds that
existing members will wait before satisfying redundancy
after another member crashes.
|
int |
getRedundantCopies()
The number of Backups for an entry in PartitionedRegion.
|
long |
getStartupRecoveryDelay()
Returns the delay in milliseconds that a new
member will wait before trying to satisfy redundancy
of data hosted on other members.
|
long |
getTotalMaxMemory()
This method returns the maximum total size of the region, in megabytes.
|
int |
getTotalNumBuckets()
This method returns total number of buckets for a PartitionedRegion.
|
long |
getTotalSize()
Deprecated.
use getTotalMaxMemory() instead
|
int getRedundantCopies()
@Deprecated long getTotalSize()
long getTotalMaxMemory()
int getTotalNumBuckets()
int getLocalMaxMemory()
java.lang.String getColocatedWith()
@Deprecated java.util.Properties getLocalProperties()
getLocalMaxMemory()
in GemFire 5.1 and later releases@Deprecated java.util.Properties getGlobalProperties()
getTotalMaxMemory()
and getTotalNumBuckets()
in GemFire 5.1 and later releasesPartitionResolver<K,V> getPartitionResolver()
PartitionResolver
for the PartitionedRegionlong getRecoveryDelay()
long getStartupRecoveryDelay()
PartitionListener[] getPartitionListeners()
PartitionListener
java.util.List<FixedPartitionAttributes> getFixedPartitionAttributes()
FixedPartitionAttributes
's list of local partitions
defined on this Partitioned Region