VMware GemFire Java API Reference
Package org.apache.geode.cache
Class FixedPartitionAttributes
- java.lang.Object
-
- org.apache.geode.cache.FixedPartitionAttributes
-
@Deprecated public abstract class FixedPartitionAttributes extends java.lang.ObjectDeprecated.since GemFire 10.2. No replacement.Composite date type used to distribute the attributes for a fixed partition.PartitionAttributes.getFixedPartitionAttributes()returns all fixed partitions in Partitioned Region attributes.PartitionAttributesFactory.addFixedPartitionAttributes(FixedPartitionAttributes)configuresFixedPartitionAttributesinPartitionedRegionAttributes- Since:
- GemFire 6.6
- See Also:
PartitionAttributes,PartitionAttributesFactory
-
-
Constructor Summary
Constructors Constructor Description FixedPartitionAttributes()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static FixedPartitionAttributescreateFixedPartition(java.lang.String name)Deprecated.Creates an instance ofFixedPartitionAttributes.static FixedPartitionAttributescreateFixedPartition(java.lang.String name, boolean isPrimary)Deprecated.Creates an instance ofFixedPartitionAttributes.static FixedPartitionAttributescreateFixedPartition(java.lang.String name, boolean isPrimary, int numBuckets)Deprecated.Creates an instance ofFixedPartitionAttributes.static FixedPartitionAttributescreateFixedPartition(java.lang.String name, int numBuckets)Deprecated.Creates an instance ofFixedPartitionAttributes.abstract intgetNumBuckets()Deprecated.Returns the number of buckets allowed for the partition.abstract java.lang.StringgetPartitionName()Deprecated.Returns the name of the fixed partition.abstract booleanisPrimary()Deprecated.Returns whether this member is the primary for the partition.
-
-
-
Method Detail
-
createFixedPartition
public static FixedPartitionAttributes createFixedPartition(java.lang.String name)
Deprecated.Creates an instance ofFixedPartitionAttributes.- Parameters:
name- Name of the fixed partition.- Returns:
- an instance of
FixedPartitionAttributes
-
createFixedPartition
public static FixedPartitionAttributes createFixedPartition(java.lang.String name, boolean isPrimary)
Deprecated.Creates an instance ofFixedPartitionAttributes.- Parameters:
name- Name of the fixed partition.isPrimary- True if this member is the primary for the partition.- Returns:
- an instance of
FixedPartitionAttributes
-
createFixedPartition
public static FixedPartitionAttributes createFixedPartition(java.lang.String name, boolean isPrimary, int numBuckets)
Deprecated.Creates an instance ofFixedPartitionAttributes.- Parameters:
name- Name of the fixed partition.isPrimary- True if this member is the primary for the partition.numBuckets- Number of buckets allowed for the partition.- Returns:
- an instance of
FixedPartitionAttributes
-
createFixedPartition
public static FixedPartitionAttributes createFixedPartition(java.lang.String name, int numBuckets)
Deprecated.Creates an instance ofFixedPartitionAttributes.- Parameters:
name- Name of the fixed partition.numBuckets- Number of buckets allowed for the partition.- Returns:
- an instance of
FixedPartitionAttributes
-
getPartitionName
public abstract java.lang.String getPartitionName()
Deprecated.Returns the name of the fixed partition.- Returns:
- the name of the fixed partition
-
isPrimary
public abstract boolean isPrimary()
Deprecated.Returns whether this member is the primary for the partition.- Returns:
- True if this member is the primary, false otherwise.
-
getNumBuckets
public abstract int getNumBuckets()
Deprecated.Returns the number of buckets allowed for the partition.- Returns:
- the number of buckets allowed for the partition
-
-