public class PartitionAttributesFactoryBean<K,V> extends AbstractFactoryBeanSupport<org.apache.geode.cache.PartitionAttributes<K,V>> implements InitializingBean
FactoryBean
for creating PartitionAttributes
.
Eliminates the need to use a XML 'factory-method' tag and allows the attributes properties to be set directly.FixedPartitionAttributes
,
PartitionAttributes
,
PartitionAttributesFactory
,
PartitionResolver
,
PartitionListener
,
FactoryBean
,
InitializingBean
,
AbstractFactoryBeanSupport
DEFAULT_SINGLETON
Constructor and Description |
---|
PartitionAttributesFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.apache.geode.cache.PartitionAttributes<K,V> |
getObject() |
Class<?> |
getObjectType() |
void |
setColocatedWith(String collocatedWith) |
void |
setFixedPartitionAttributes(List<org.apache.geode.cache.FixedPartitionAttributes> fixedPartitionAttributes) |
void |
setLocalMaxMemory(int mb) |
void |
setPartitionListeners(List<org.apache.geode.cache.partition.PartitionListener> partitionListeners) |
void |
setPartitionResolver(org.apache.geode.cache.PartitionResolver<K,V> resolver) |
void |
setRecoveryDelay(long recoveryDelay) |
void |
setRedundantCopies(int redundantCopies) |
void |
setStartupRecoveryDelay(long startupRecoveryDelay) |
void |
setTotalMaxMemory(long megabytes) |
void |
setTotalNumBuckets(int numBuckets) |
getBeanClassLoader, getBeanFactory, getBeanName, getLog, isSingleton, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLog, setBeanClassLoader, setBeanFactory, setBeanName
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public org.apache.geode.cache.PartitionAttributes<K,V> getObject() throws Exception
getObject
in interface FactoryBean<org.apache.geode.cache.PartitionAttributes<K,V>>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<org.apache.geode.cache.PartitionAttributes<K,V>>
public void setColocatedWith(String collocatedWith)
public void setFixedPartitionAttributes(List<org.apache.geode.cache.FixedPartitionAttributes> fixedPartitionAttributes)
public void setLocalMaxMemory(int mb)
public void setPartitionListeners(List<org.apache.geode.cache.partition.PartitionListener> partitionListeners)
public void setPartitionResolver(org.apache.geode.cache.PartitionResolver<K,V> resolver)
public void setRecoveryDelay(long recoveryDelay)
public void setRedundantCopies(int redundantCopies)
public void setStartupRecoveryDelay(long startupRecoveryDelay)
public void setTotalMaxMemory(long megabytes)
public void setTotalNumBuckets(int numBuckets)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.