public class FixedPartitionAttributesFactoryBean extends Object implements FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>, InitializingBean
| Constructor and Description |
|---|
FixedPartitionAttributesFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
com.gemstone.gemfire.cache.FixedPartitionAttributes |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setNumBuckets(Integer numBuckets) |
void |
setPartitionName(String partitionName) |
void |
setPrimary(boolean primary)
Sets whether this particular PARTITION Region is the primary (i.e. not secondary).
|
public void setPrimary(boolean primary)
primary - a boolean value to indicate whether this PARTITION Region is the primary.public void setPartitionName(String partitionName)
partitionName - the partitionName to setpublic void setNumBuckets(Integer numBuckets)
numBuckets - the numBuckets to setpublic com.gemstone.gemfire.cache.FixedPartitionAttributes getObject()
throws Exception
getObject in interface FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>public boolean isSingleton()
isSingleton in interface FactoryBean<com.gemstone.gemfire.cache.FixedPartitionAttributes>public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanException