|
GemFire 6.6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.FixedPartitionAttributes
public abstract class FixedPartitionAttributes
This abstract class represents attributes that define the characteristics of a partition in a Fixed Partitioned Region.
FixedPartitionAttributes are created using the
createFixedPartition(String)
createFixedPartition(String, boolean)
createFixedPartition(String, int)
createFixedPartition(String, boolean, int)
PartitionAttributes.getFixedPartitionAttributes()
discovers all fixed partitions in Partitioned Region attributes.
PartitionAttributesFactory.addFixedPartitionAttributes(FixedPartitionAttributes)
configures FixedPartitionAttributes in Partitioned Region
Attributes
PartitionAttributes,
PartitionAttributesFactory| Constructor Summary | |
|---|---|
FixedPartitionAttributes()
|
|
| Method Summary | |
|---|---|
static FixedPartitionAttributes |
createFixedPartition(String name)
This method creates FixedPartitionAttributes with partition name
provided. |
static FixedPartitionAttributes |
createFixedPartition(String name,
boolean isPrimary)
This method creates FixedPartitionAttributes with partition name
and primary status. |
static FixedPartitionAttributes |
createFixedPartition(String name,
boolean isPrimary,
int numBuckets)
This method creates FixedPartitionAttributes with partition name,
primaryStatus and partition number of buckets. |
static FixedPartitionAttributes |
createFixedPartition(String name,
int numBuckets)
This method creates FixedPartitionAttributes with partition name
and partition number of buckets . |
abstract int |
getNumBuckets()
This method returns the number of the buckets allowed for this partition |
abstract String |
getPartitionName()
The name of the fixed partition defined on the region |
abstract boolean |
isPrimary()
This method returns whether the partition defined is primary or secondary |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedPartitionAttributes()
| Method Detail |
|---|
public static final FixedPartitionAttributes createFixedPartition(String name)
FixedPartitionAttributes with partition name
provided. This method call sets other attributes to default. isPrimary =
false numBuckets = 1
name - represent the name of the partition
public static final FixedPartitionAttributes createFixedPartition(String name,
boolean isPrimary)
FixedPartitionAttributes with partition name
and primary status. This method call sets other attribute to default.
numBuckets = 1
name - represent the name of the partitionisPrimary - status of the partition.
public static final FixedPartitionAttributes createFixedPartition(String name,
boolean isPrimary,
int numBuckets)
FixedPartitionAttributes with partition name,
primaryStatus and partition number of buckets.
name - represent the name of the partitionisPrimary - status of the partitionnumBuckets - represents the number of buckets allowed for this partition
public static final FixedPartitionAttributes createFixedPartition(String name,
int numBuckets)
FixedPartitionAttributes with partition name
and partition number of buckets . This method call sets other attributes to
default. isPrimary = false
name - represent the name of the partitionnumBuckets - represents the number of buckets allowed for this partitionpublic abstract String getPartitionName()
public abstract boolean isPrimary()
public abstract int getNumBuckets()
|
GemFire 6.6.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||