Class RocksDBBlobStoreDataPolicyFactoryBean

java.lang.Object
com.gigaspaces.blobstore.rocksdb.config.RocksDBBlobStoreDataPolicyFactoryBean
All Implemented Interfaces:
BeanLevelPropertiesAware, org.springframework.beans.factory.FactoryBean<RocksDBBlobStoreHandler>, org.springframework.beans.factory.InitializingBean

public class RocksDBBlobStoreDataPolicyFactoryBean extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean<RocksDBBlobStoreHandler>, BeanLevelPropertiesAware
A factory for creating RocksDBBlobStoreHandler instance.
Since:
11.0.0
Author:
Kobi
  • Constructor Details

    • RocksDBBlobStoreDataPolicyFactoryBean

      public RocksDBBlobStoreDataPolicyFactoryBean()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getObject

      public RocksDBBlobStoreHandler getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<RocksDBBlobStoreHandler>
      Throws:
      Exception
    • getObjectType

      public Class<? extends RocksDBBlobStoreHandler> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<RocksDBBlobStoreHandler>
    • isSingleton

      public boolean isSingleton()
      Returns true as this is a singleton.
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<RocksDBBlobStoreHandler>
    • setPaths

      public void setPaths(String paths)
    • setDbOptions

      public void setDbOptions(XAPDBOptions dbOptions)
    • setDataColumnFamilyOptions

      public void setDataColumnFamilyOptions(XAPColumnFamilyOptions columnFamilyOptions)
    • setMappingDir

      public void setMappingDir(String mappingDir)
    • setCentralStorage

      public void setCentralStorage(boolean centralStorage)
    • setFsync

      public void setFsync(boolean fsync)
    • setPersistent

      public void setPersistent(boolean persistent)
    • setCacheSizeMB

      public void setCacheSizeMB(long cacheSizeMB)
    • setBlockSizeKB

      public void setBlockSizeKB(long blockSizeKB)
    • setOffHeapCacheMemoryThreshold

      public void setOffHeapCacheMemoryThreshold(String offHeapCacheMemoryThreshold)
    • setMainPath

      public void setMainPath(String mainPath)
    • setBeanLevelProperties

      public void setBeanLevelProperties(BeanLevelProperties beanLevelProperties)
      Description copied from interface: BeanLevelPropertiesAware
      Specified by:
      setBeanLevelProperties in interface BeanLevelPropertiesAware