|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PartitionAttributes
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 | |
|---|---|
CacheLoader |
getCacheLoader()
Deprecated. RegionAttributes.getCacheLoader() should be used, along with the
corresponding AttributesFactory.setCacheLoader(com.gemstone.gemfire.cache.CacheLoader) method for establishing the cache
loader |
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 |
int |
getRedundantCopies()
The number of Backups for an entry in PartitionedRegion. |
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 |
|---|
CacheLoader getCacheLoader()
RegionAttributes.getCacheLoader() should be used, along with the
corresponding AttributesFactory.setCacheLoader(com.gemstone.gemfire.cache.CacheLoader) method for establishing the cache
loader
int getRedundantCopies()
long getTotalSize()
long getTotalMaxMemory()
int getTotalNumBuckets()
int getLocalMaxMemory()
Properties getLocalProperties()
getLocalMaxMemory() in GemFire 5.1 and later releases
Properties getGlobalProperties()
getTotalMaxMemory() and getTotalNumBuckets() in GemFire 5.1 and later releases
|
GemFire 5.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||