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 |
---|---|
default RegionAttributesType.PartitionAttributes |
convertToConfigPartitionAttributes() |
String |
getColocatedWith()
Returns the colocated PartitionedRegion's name
|
List<FixedPartitionAttributes> |
getFixedPartitionAttributes()
Returns
FixedPartitionAttributes 's list of local partitions defined on this
Partitioned Region |
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.
|
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()
Deprecated.
since Geode 1.3.0
|
int |
getTotalNumBuckets()
This method returns total number of buckets for a PartitionedRegion.
|
long |
getTotalSize()
Deprecated.
use getTotalMaxMemory() instead
|
int getRedundantCopies()
@Deprecated long getTotalSize()
@Deprecated long getTotalMaxMemory()
int getTotalNumBuckets()
int getLocalMaxMemory()
String getColocatedWith()
@Deprecated Properties getLocalProperties()
getLocalMaxMemory()
in GemFire 5.1 and later releases@Deprecated 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
List<FixedPartitionAttributes> getFixedPartitionAttributes()
FixedPartitionAttributes
's list of local partitions defined on this
Partitioned RegionFixedPartitionAttributes
's list of local partitions defined on this
Partitioned Regiondefault RegionAttributesType.PartitionAttributes convertToConfigPartitionAttributes()