GemFire 7.0.1

com.gemstone.gemfire.management
Class FixedPartitionAttributesData

java.lang.Object
  extended by com.gemstone.gemfire.management.FixedPartitionAttributesData

public class FixedPartitionAttributesData
extends Object

Composite date type used to distribute the fixed partition attributes for a Region.

Since:
7.0

Constructor Summary
FixedPartitionAttributesData(String name, boolean primary, int numBucket)
           
 
Method Summary
 boolean equals(Object anObject)
           
 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()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FixedPartitionAttributesData

@ConstructorProperties(value={"name","primary","numBucket"})
public FixedPartitionAttributesData(String name,
                                                               boolean primary,
                                                               int numBucket)
Method Detail

getName

public String getName()
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.


equals

public boolean equals(Object anObject)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

GemFire 7.0.1

Copyright © 1997-2013 VMware, Inc. All rights reserved.