org.springframework.data.gemfire
Class PartitionAttributesFactoryBean
java.lang.Object
org.springframework.data.gemfire.PartitionAttributesFactoryBean
- All Implemented Interfaces:
- FactoryBean<PartitionAttributes>
public class PartitionAttributesFactoryBean
- extends Object
- implements FactoryBean<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.
- Author:
- Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionAttributesFactoryBean
public PartitionAttributesFactoryBean()
getObject
public PartitionAttributes getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<PartitionAttributes>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<PartitionAttributes>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<PartitionAttributes>
setColocatedWith
public void setColocatedWith(String colocatedRegionFullPath)
setLocalMaxMemory
public void setLocalMaxMemory(int mb)
setPartitionResolver
public void setPartitionResolver(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)
Copyright © 2010-2011 SpringSource, a division of VMware. All Rights Reserved.