public class FixedPartitionAttributesFactoryBean extends Object implements FactoryBean<FixedPartitionAttributes>, InitializingBean
Constructor and Description |
---|
FixedPartitionAttributesFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
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 FixedPartitionAttributes getObject() throws Exception
getObject
in interface FactoryBean<FixedPartitionAttributes>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<FixedPartitionAttributes>
public boolean isSingleton()
isSingleton
in interface FactoryBean<FixedPartitionAttributes>
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception