Constructor and Description |
---|
FixedPartitionAttributesData(String name,
boolean primary,
int numBucket)
This constructor is to be used by internal JMX framework only.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the partition.
|
int |
getNumBucket()
Returns the number of buckets allowed for the partition.
|
boolean |
isPrimary()
Returns whether this member is the primary for the partition.
|
String |
toString()
String representation of FixedPartitionAttributesData
|
@ConstructorProperties(value={"name","primary","numBucket"}) public FixedPartitionAttributesData(String name, boolean primary, int numBucket)
name
- the name of the partitionprimary
- whether this member is the primary for the partitionnumBucket
- the number of buckets allowed for the partitionpublic String getName()
public boolean isPrimary()
public int getNumBucket()