public class PartitionAttributesFactoryBean<K,V> extends AbstractFactoryBeanSupport<org.apache.geode.cache.PartitionAttributes<K,V>> implements org.springframework.beans.factory.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() |
java.lang.Class<?> |
getObjectType() |
void |
setColocatedWith(java.lang.String collocatedWith) |
void |
setFixedPartitionAttributes(java.util.List<org.apache.geode.cache.FixedPartitionAttributes> fixedPartitionAttributes) |
void |
setLocalMaxMemory(int mb) |
void |
setPartitionListeners(java.util.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, getLogger, getOptionalLogger, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLogger, setBeanClassLoader, setBeanFactory, setBeanName
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public org.apache.geode.cache.PartitionAttributes<K,V> getObject() throws java.lang.Exception
public java.lang.Class<?> getObjectType()
public void setColocatedWith(java.lang.String collocatedWith)
public void setFixedPartitionAttributes(java.util.List<org.apache.geode.cache.FixedPartitionAttributes> fixedPartitionAttributes)
public void setLocalMaxMemory(int mb)
public void setPartitionListeners(java.util.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)