Package org.springframework.data.gemfire
Class FixedPartitionAttributesFactoryBean
java.lang.Object
org.springframework.data.gemfire.FixedPartitionAttributesFactoryBean
- All Implemented Interfaces:
FactoryBean<FixedPartitionAttributes>
,InitializingBean
public class FixedPartitionAttributesFactoryBean
extends Object
implements FactoryBean<FixedPartitionAttributes>, InitializingBean
Spring
FactoryBean
to create a instance of the FixedPartitionAttributes
.- Author:
- David Turanski, John Blum
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Class<?>
boolean
void
setNumBuckets
(Integer numBuckets) Set the number of buckets in the Partition Region.void
setPartitionName
(String partitionName) Set the name of the partition in the Partition Region.void
setPrimary
(boolean primary) Sets whether this particular PARTITION Region is the primary (i.e. not secondary).
-
Constructor Details
-
FixedPartitionAttributesFactoryBean
public FixedPartitionAttributesFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<FixedPartitionAttributes>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<FixedPartitionAttributes>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<FixedPartitionAttributes>
-
setNumBuckets
Set the number of buckets in the Partition Region.- Parameters:
numBuckets
- integer value indicating the number of buckets in the Partition Region.
-
setPartitionName
Set the name of the partition in the Partition Region.- Parameters:
partitionName
- name of the partition.
-
setPrimary
public void setPrimary(boolean primary) Sets whether this particular PARTITION Region is the primary (i.e. not secondary).- Parameters:
primary
- a boolean value to indicate whether this PARTITION Region is the primary.
-