public class FixedPartitionAttributesFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>, org.springframework.beans.factory.InitializingBean
FactoryBean
to create a instance of the FixedPartitionAttributes
.FactoryBean
,
InitializingBean
,
FixedPartitionAttributes
Constructor and Description |
---|
FixedPartitionAttributesFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.apache.geode.cache.FixedPartitionAttributes |
getObject() |
java.lang.Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setNumBuckets(java.lang.Integer numBuckets)
Set the number of buckets in the Partition Region.
|
void |
setPartitionName(java.lang.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.
|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public org.apache.geode.cache.FixedPartitionAttributes getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>
java.lang.Exception
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>
public void setNumBuckets(java.lang.Integer numBuckets)
numBuckets
- integer value indicating the number of buckets in the Partition Region.public void setPartitionName(java.lang.String partitionName)
partitionName
- name of the partition.public void setPrimary(boolean primary)
primary
- a boolean value to indicate whether this PARTITION Region is the primary.