public class FixedPartitionAttributesFactoryBean extends Object implements FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>, InitializingBean
FactoryBean
to create a instance of the FixedPartitionAttributes
.FactoryBean
,
InitializingBean
,
FixedPartitionAttributes
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
FixedPartitionAttributesFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.apache.geode.cache.FixedPartitionAttributes |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
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).
|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public org.apache.geode.cache.FixedPartitionAttributes getObject() throws Exception
getObject
in interface FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>
public boolean isSingleton()
isSingleton
in interface FactoryBean<org.apache.geode.cache.FixedPartitionAttributes>
public void setNumBuckets(Integer numBuckets)
numBuckets
- integer value indicating the number of buckets in the Partition Region.public void setPartitionName(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.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.