public class PartitionAttributesFactoryBean<K,V> extends Object implements FactoryBean<org.apache.geode.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() |
org.apache.geode.cache.PartitionAttributes |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
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 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 InitializingBean
Exception
public org.apache.geode.cache.PartitionAttributes 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 boolean isSingleton()
isSingleton
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 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–2017 Pivotal Software, Inc.. All rights reserved.