public class PartitionAttributesFactoryBean extends Object implements FactoryBean<PartitionAttributes>, InitializingBean
PartitionAttributes
. Eliminates the need of using
a XML 'factory-method' tag and allows the attributes properties to be set directly.Constructor and Description |
---|
PartitionAttributesFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
PartitionAttributes |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setColocatedWith(String colocatedRegionFullPath) |
void |
setFixedPartitionAttributes(List<FixedPartitionAttributes> fixedPartitionAttributes) |
void |
setLocalMaxMemory(int mb) |
void |
setPartitionListeners(List<PartitionListener> listeners) |
void |
setPartitionResolver(PartitionResolver resolver) |
void |
setRecoveryDelay(long recoveryDelay) |
void |
setRedundantCopies(int redundantCopies) |
void |
setStartupRecoveryDelay(long startupRecoveryDelay) |
void |
setTotalMaxMemory(long mb) |
void |
setTotalNumBuckets(int numBuckets) |
public PartitionAttributes getObject() throws Exception
getObject
in interface FactoryBean<PartitionAttributes>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<PartitionAttributes>
public boolean isSingleton()
isSingleton
in interface FactoryBean<PartitionAttributes>
public void setColocatedWith(String colocatedRegionFullPath)
public void setFixedPartitionAttributes(List<FixedPartitionAttributes> fixedPartitionAttributes)
public void setLocalMaxMemory(int mb)
public void setPartitionResolver(PartitionResolver resolver)
public void setPartitionListeners(List<PartitionListener> listeners)
public void setRecoveryDelay(long recoveryDelay)
public void setRedundantCopies(int redundantCopies)
public void setStartupRecoveryDelay(long startupRecoveryDelay)
public void setTotalMaxMemory(long mb)
public void setTotalNumBuckets(int numBuckets)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception