org.springframework.data.gemfire
Class PartitionAttributesFactoryBean
java.lang.Object
org.springframework.data.gemfire.PartitionAttributesFactoryBean
- All Implemented Interfaces:
- FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
public class PartitionAttributesFactoryBean
- extends Object
- implements FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
Spring-friendly bean for creating PartitionAttributes
. Eliminates the need of using
a XML 'factory-method' tag and allows the attributes properties to be set directly.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionAttributesFactoryBean
public PartitionAttributesFactoryBean()
getObject
public com.gemstone.gemfire.cache.PartitionAttributes getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<com.gemstone.gemfire.cache.PartitionAttributes>
setColocatedWith
public void setColocatedWith(String colocatedRegionFullPath)
setLocalMaxMemory
public void setLocalMaxMemory(int mb)
setPartitionResolver
public void setPartitionResolver(com.gemstone.gemfire.cache.PartitionResolver resolver)
setRecoveryDelay
public void setRecoveryDelay(long recoveryDelay)
setRedundantCopies
public void setRedundantCopies(int redundantCopies)
setStartupRecoveryDelay
public void setStartupRecoveryDelay(long startupRecoveryDelay)
setTotalMaxMemory
public void setTotalMaxMemory(long mb)
setTotalNumBuckets
public void setTotalNumBuckets(int numBuckets)