VMware GemFire Java API Reference
Package org.apache.geode.management
Class FixedPartitionAttributesData
- java.lang.Object
-
- org.apache.geode.management.FixedPartitionAttributesData
-
public class FixedPartitionAttributesData extends java.lang.ObjectComposite date type used to distribute the fixed partition attributes for aRegion.- Since:
- GemFire 7.0
-
-
Constructor Summary
Constructors Constructor Description FixedPartitionAttributesData(java.lang.String name, boolean primary, int numBucket)This constructor is to be used by internal JMX framework only.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Returns the name of the partition.intgetNumBucket()Returns the number of buckets allowed for the partition.booleanisPrimary()Returns whether this member is the primary for the partition.java.lang.StringtoString()String representation of FixedPartitionAttributesData
-
-
-
Constructor Detail
-
FixedPartitionAttributesData
@ConstructorProperties({"name","primary","numBucket"}) public FixedPartitionAttributesData(java.lang.String name, boolean primary, int numBucket)This constructor is to be used by internal JMX framework only. User should not try to create an instance of this class.- Parameters:
name- the name of the partitionprimary- whether this member is the primary for the partitionnumBucket- the number of buckets allowed for the partition
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the partition.- Returns:
- the name of the partition
-
isPrimary
public boolean isPrimary()
Returns whether this member is the primary for the partition.- Returns:
- True if this member is the primary, false otherwise.
-
getNumBucket
public int getNumBucket()
Returns the number of buckets allowed for the partition.- Returns:
- the number of buckets allowed for the partition
-
toString
public java.lang.String toString()
String representation of FixedPartitionAttributesData- Overrides:
toStringin classjava.lang.Object
-
-