public class PartitionAttributesFactoryBean extends Object implements FactoryBean<com.gemstone.gemfire.cache.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() |
com.gemstone.gemfire.cache.PartitionAttributes |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setColocatedWith(String colocatedRegionFullPath) |
void |
setFixedPartitionAttributes(List<com.gemstone.gemfire.cache.FixedPartitionAttributes> fixedPartitionAttributes) |
void |
setLocalMaxMemory(int mb) |
void |
setPartitionListeners(List<com.gemstone.gemfire.cache.partition.PartitionListener> listeners) |
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 com.gemstone.gemfire.cache.PartitionAttributes getObject() throws Exception
getObject
in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
public boolean isSingleton()
isSingleton
in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
public void setColocatedWith(String colocatedRegionFullPath)
public void setFixedPartitionAttributes(List<com.gemstone.gemfire.cache.FixedPartitionAttributes> fixedPartitionAttributes)
public void setLocalMaxMemory(int mb)
public void setPartitionResolver(com.gemstone.gemfire.cache.PartitionResolver resolver)
public void setPartitionListeners(List<com.gemstone.gemfire.cache.partition.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
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.