org.springframework.data.gemfire
Class DiskStoreFactoryBean
java.lang.Object
org.springframework.data.gemfire.DiskStoreFactoryBean
- All Implemented Interfaces:
- Aware, BeanNameAware, FactoryBean<com.gemstone.gemfire.cache.DiskStore>, InitializingBean
public class DiskStoreFactoryBean
- extends Object
- implements FactoryBean<com.gemstone.gemfire.cache.DiskStore>, InitializingBean, BeanNameAware
FactoryBean for creating a GemFire DiskStore.
- See Also:
BeanNameAware
,
FactoryBean
,
InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiskStoreFactoryBean
public DiskStoreFactoryBean()
getObject
public com.gemstone.gemfire.cache.DiskStore getObject()
throws Exception
- Specified by:
getObject
in interface FactoryBean<com.gemstone.gemfire.cache.DiskStore>
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<com.gemstone.gemfire.cache.DiskStore>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface FactoryBean<com.gemstone.gemfire.cache.DiskStore>
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
setCache
public void setCache(com.gemstone.gemfire.cache.GemFireCache cache)
setAllowForceCompaction
public void setAllowForceCompaction(Boolean allowForceCompaction)
setAutoCompact
public void setAutoCompact(Boolean autoCompact)
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interface BeanNameAware
setCompactionThreshold
public void setCompactionThreshold(Integer compactionThreshold)
validateCompactionThreshold
protected void validateCompactionThreshold(Integer compactionThreshold)
setDiskDirs
public void setDiskDirs(List<DiskStoreFactoryBean.DiskDir> diskDirs)
setMaxOplogSize
public void setMaxOplogSize(Integer maxOplogSize)
setQueueSize
public void setQueueSize(Integer queueSize)
setTimeInterval
public void setTimeInterval(Integer timeInterval)
setWriteBufferSize
public void setWriteBufferSize(Integer writeBufferSize)