public class PartitionAttributesData extends Object
PartitionedRegion
.Constructor and Description |
---|
PartitionAttributesData(int redundantCopies,
long totalMaxMemory,
int totalNumBuckets,
int localMaxMemory,
String colocatedWith,
String partitionResolver,
long recoveryDelay,
long startupRecoveryDelay,
String[] partitionListeners)
This constructor is to be used by internal JMX framework only.
|
Modifier and Type | Method and Description |
---|---|
String |
getColocatedWith()
Returns the name of the PartitionedRegion that this PartitionedRegion is colocated with.
|
int |
getLocalMaxMemory()
Returns the maximum amount of local memory that can be used by the region.
|
String[] |
getPartitionListeners()
Returns a list of Classes that are configured as listeners for the Region.
|
String |
getPartitionResolver()
Returns a list of Classes that are configured as resolvers for the Region.
|
long |
getRecoveryDelay()
Returns the delay (in milliseconds) that a member will wait while trying to satisfy the
redundancy of data hosted on other members.
|
int |
getRedundantCopies()
Returns the number of redundant copies for this PartitionedRegion.
|
long |
getStartupRecoveryDelay()
Returns the delay (in milliseconds) that a new member will wait while trying to satisfy the
redundancy of data hosted on other members.
|
long |
getTotalMaxMemory()
Returns the maximum total size (in megabytes) of the Region.
|
int |
getTotalNumBuckets()
Returns the total number of buckets for the whole region.
|
String |
toString()
String representation of PartitionAttributesData
|
@ConstructorProperties(value={"redundantCopies","totalMaxMemory","totalNumBuckets","localMaxMemory","colocatedWith","partitionResolver","recoveryDelay","startupRecoveryDelay","partitionListeners"}) public PartitionAttributesData(int redundantCopies, long totalMaxMemory, int totalNumBuckets, int localMaxMemory, String colocatedWith, String partitionResolver, long recoveryDelay, long startupRecoveryDelay, String[] partitionListeners)
redundantCopies
- the number of redundant copies for this PartitionedRegiontotalMaxMemory
- the maximum total size (in megabytes) of the RegiontotalNumBuckets
- the total number of buckets for the whole regionlocalMaxMemory
- the maximum amount of local memory that can be used by the regioncolocatedWith
- the name of the PartitionedRegion that this PartitionedRegion is colocated
withpartitionResolver
- a list of Classes that are configured as resolvers for the RegionrecoveryDelay
- the delay (in milliseconds) that a member will wait while trying to
satisfy the redundancy of data hosted on other membersstartupRecoveryDelay
- the delay (in milliseconds) that a new member will wait while
trying to satisfy the redundancy of data hosted on other memberspartitionListeners
- an array of Classes that are configured as listeners for the Regionpublic int getRedundantCopies()
public long getTotalMaxMemory()
public int getTotalNumBuckets()
public int getLocalMaxMemory()
public String getColocatedWith()
public String getPartitionResolver()
public long getRecoveryDelay()
public long getStartupRecoveryDelay()
public String[] getPartitionListeners()