Class RocksDBStoreConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.AbstractStoreConfiguration
-
- org.infinispan.persistence.rocksdb.configuration.RocksDBStoreConfiguration
-
- All Implemented Interfaces:
BaseConfigurationInfo
,ConfigurationInfo
,StoreConfiguration
public class RocksDBStoreConfiguration extends AbstractStoreConfiguration implements ConfigurationInfo
- Author:
- Ray Tsang
-
-
Field Summary
Fields Modifier and Type Field Description static ElementDefinition
ELEMENT_DEFINITION
-
Fields inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
attributes, FETCH_PERSISTENT_STATE, IGNORE_MODIFICATIONS, MAX_BATCH_SIZE, PRELOAD, PROPERTIES, PURGE_ON_STARTUP, SEGMENTED, SHARED, TRANSACTIONAL
-
-
Constructor Summary
Constructors Constructor Description RocksDBStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, RocksDBExpirationConfiguration expiration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeSet
attributeDefinitionSet()
AttributeSet
attributes()
java.lang.Integer
blockSize()
java.lang.Long
cacheSize()
int
clearThreshold()
CompressionType
compressionType()
RocksDBExpirationConfiguration
expiration()
java.lang.String
expiredLocation()
int
expiryQueueSize()
ElementDefinition
getElementDefinition()
java.lang.String
location()
java.util.List<ConfigurationInfo>
subElements()
-
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
async, equals, fetchPersistentState, hashCode, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, toString, transactional
-
-
-
-
Field Detail
-
ELEMENT_DEFINITION
public static ElementDefinition ELEMENT_DEFINITION
-
-
Constructor Detail
-
RocksDBStoreConfiguration
public RocksDBStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, RocksDBExpirationConfiguration expiration)
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
expiration
public RocksDBExpirationConfiguration expiration()
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
subElements
public java.util.List<ConfigurationInfo> subElements()
- Specified by:
subElements
in interfaceConfigurationInfo
- Overrides:
subElements
in classAbstractStoreConfiguration
- Returns:
- the list of sub elements.
-
attributes
public AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Overrides:
attributes
in classAbstractStoreConfiguration
- Returns:
- the
AttributeSet
declared by the configuration.
-
location
public java.lang.String location()
-
expiredLocation
public java.lang.String expiredLocation()
-
compressionType
public CompressionType compressionType()
-
blockSize
public java.lang.Integer blockSize()
-
cacheSize
public java.lang.Long cacheSize()
-
expiryQueueSize
public int expiryQueueSize()
-
clearThreshold
public int clearThreshold()
-
-