org.springframework.data.gemfire
Class DiskStoreFactoryBean

java.lang.Object
  extended by 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

Nested Class Summary
static class DiskStoreFactoryBean.DiskDir
           
 
Constructor Summary
DiskStoreFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 com.gemstone.gemfire.cache.DiskStore getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setAllowForceCompaction(Boolean allowForceCompaction)
           
 void setAutoCompact(Boolean autoCompact)
           
 void setBeanName(String name)
           
 void setCache(com.gemstone.gemfire.cache.GemFireCache cache)
           
 void setCompactionThreshold(Integer compactionThreshold)
           
 void setDiskDirs(List<DiskStoreFactoryBean.DiskDir> diskDirs)
           
 void setMaxOplogSize(Integer maxOplogSize)
           
 void setQueueSize(Integer queueSize)
           
 void setTimeInterval(Integer timeInterval)
           
 void setWriteBufferSize(Integer writeBufferSize)
           
protected  void validateCompactionThreshold(Integer compactionThreshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiskStoreFactoryBean

public DiskStoreFactoryBean()
Method Detail

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)