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 org.infinispan.commons.configuration.attributes.AttributeDefinition<CompressionType>
COMPRESSION_TYPE
static org.infinispan.commons.configuration.elements.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, WRITE_ONLY
-
-
Constructor Summary
Constructors Constructor Description RocksDBStoreConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, AsyncStoreConfiguration async, RocksDBExpirationConfiguration expiration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.infinispan.commons.configuration.attributes.AttributeSet
attributeDefinitionSet()
org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
Integer
blockSize()
Long
cacheSize()
int
clearThreshold()
CompressionType
compressionType()
RocksDBExpirationConfiguration
expiration()
String
expiredLocation()
int
expiryQueueSize()
Deprecated.There is no more queue inRocksDBStore
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
String
location()
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, writeOnly
-
-
-
-
Field Detail
-
COMPRESSION_TYPE
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<CompressionType> COMPRESSION_TYPE
-
ELEMENT_DEFINITION
public static org.infinispan.commons.configuration.elements.ElementDefinition ELEMENT_DEFINITION
-
-
Constructor Detail
-
RocksDBStoreConfiguration
public RocksDBStoreConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, AsyncStoreConfiguration async, RocksDBExpirationConfiguration expiration)
-
-
Method Detail
-
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
-
expiration
public RocksDBExpirationConfiguration expiration()
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
subElements
public List<ConfigurationInfo> subElements()
- Specified by:
subElements
in interfaceConfigurationInfo
- Overrides:
subElements
in classAbstractStoreConfiguration
- Returns:
- the list of sub elements.
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Overrides:
attributes
in classAbstractStoreConfiguration
- Returns:
- the
AttributeSet
declared by the configuration.
-
location
public String location()
-
expiredLocation
public String expiredLocation()
-
compressionType
public CompressionType compressionType()
-
blockSize
public Integer blockSize()
-
cacheSize
public Long cacheSize()
-
expiryQueueSize
@Deprecated public int expiryQueueSize()
Deprecated.There is no more queue inRocksDBStore
-
clearThreshold
public int clearThreshold()
-
-