|
GemFire 6.6.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PartitionAttributes<K,V>
Attributes that define the partitioned character of a Partitioned Region.
This interface allows for the discovery of Partitioned Region attributes using
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.
| Method Summary | |
|---|---|
String |
getColocatedWith()
Returns name of 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()
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 |
| Method Detail |
|---|
int getRedundantCopies()
@Deprecated long getTotalSize()
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 releases
PartitionResolver<K,V> getPartitionResolver()
PartitionResolver for the PartitionedRegionlong getRecoveryDelay()
long getStartupRecoveryDelay()
PartitionListener[] getPartitionListeners()
PartitionListenerList<FixedPartitionAttributes> getFixedPartitionAttributes()
FixedPartitionAttributes's list of local partitions
defined on this Partitioned Region
|
GemFire 6.6.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||