public class PartitionAttributesFactoryBean<K,V> extends Object implements FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes<K,V>>, InitializingBean
FactoryBean for creating PartitionAttributes.
Eliminates the need to use a XML 'factory-method' tag and allows the attributes properties to be set directly.FactoryBean,
InitializingBean,
FixedPartitionAttributes,
PartitionAttributes,
PartitionAttributesFactory,
PartitionResolver,
PartitionListener| Constructor and Description |
|---|
PartitionAttributesFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
com.gemstone.gemfire.cache.PartitionAttributes |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setColocatedWith(String collocatedWith) |
void |
setFixedPartitionAttributes(List<com.gemstone.gemfire.cache.FixedPartitionAttributes> fixedPartitionAttributes) |
void |
setLocalMaxMemory(int mb) |
void |
setPartitionListeners(List<com.gemstone.gemfire.cache.partition.PartitionListener> partitionListeners) |
void |
setPartitionResolver(com.gemstone.gemfire.cache.PartitionResolver resolver) |
void |
setRecoveryDelay(long recoveryDelay) |
void |
setRedundantCopies(int redundantCopies) |
void |
setStartupRecoveryDelay(long startupRecoveryDelay) |
void |
setTotalMaxMemory(long mb) |
void |
setTotalNumBuckets(int numBuckets) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic com.gemstone.gemfire.cache.PartitionAttributes getObject()
throws Exception
getObject in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes<K,V>>Exceptionpublic Class<?> getObjectType()
getObjectType in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes<K,V>>public boolean isSingleton()
isSingleton in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes<K,V>>public void setColocatedWith(String collocatedWith)
public void setFixedPartitionAttributes(List<com.gemstone.gemfire.cache.FixedPartitionAttributes> fixedPartitionAttributes)
public void setLocalMaxMemory(int mb)
public void setPartitionListeners(List<com.gemstone.gemfire.cache.partition.PartitionListener> partitionListeners)
public void setPartitionResolver(com.gemstone.gemfire.cache.PartitionResolver resolver)
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)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.