Class SoftIndexFileStoreConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.AbstractStoreConfiguration
-
- org.infinispan.configuration.cache.AbstractSegmentedStoreConfiguration<SoftIndexFileStoreConfiguration>
-
- org.infinispan.persistence.sifs.configuration.SoftIndexFileStoreConfiguration
-
- All Implemented Interfaces:
BaseConfigurationInfo
,ConfigurationInfo
,StoreConfiguration
public class SoftIndexFileStoreConfiguration extends AbstractSegmentedStoreConfiguration<SoftIndexFileStoreConfiguration> implements ConfigurationInfo
- Author:
- Radim Vansa <rvansa@redhat.com>
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Double>
COMPACTION_THRESHOLD
static ElementDefinition
ELEMENT_DEFINITION
static AttributeDefinition<java.lang.Integer>
OPEN_FILES_LIMIT
-
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 SoftIndexFileStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, IndexConfiguration indexConfiguration, DataConfiguration dataConfiguration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeSet
attributeDefinitionSet()
double
compactionThreshold()
DataConfiguration
data()
java.lang.String
dataLocation()
ElementDefinition
getElementDefinition()
IndexConfiguration
index()
java.lang.String
indexLocation()
int
indexQueueLength()
int
indexSegments()
int
maxFileSize()
int
maxNodeSize()
int
minNodeSize()
SoftIndexFileStoreConfiguration
newConfigurationFrom(int segment, InitializationContext ctx)
Same asAbstractSegmentedStoreConfiguration.newConfigurationFrom(int)
except that you can utilize the intialization context when initializing the segmented store object.int
openFilesLimit()
java.util.List<ConfigurationInfo>
subElements()
boolean
syncWrites()
-
Methods inherited from class org.infinispan.configuration.cache.AbstractSegmentedStoreConfiguration
fileLocationTransform, newConfigurationFrom
-
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
async, attributes, equals, fetchPersistentState, hashCode, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, toString, transactional
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commons.configuration.BaseConfigurationInfo
attributes
-
-
-
-
Field Detail
-
OPEN_FILES_LIMIT
public static final AttributeDefinition<java.lang.Integer> OPEN_FILES_LIMIT
-
COMPACTION_THRESHOLD
public static final AttributeDefinition<java.lang.Double> COMPACTION_THRESHOLD
-
ELEMENT_DEFINITION
public static ElementDefinition ELEMENT_DEFINITION
-
-
Constructor Detail
-
SoftIndexFileStoreConfiguration
public SoftIndexFileStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, IndexConfiguration indexConfiguration, DataConfiguration dataConfiguration)
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
newConfigurationFrom
public SoftIndexFileStoreConfiguration newConfigurationFrom(int segment, InitializationContext ctx)
Description copied from class:AbstractSegmentedStoreConfiguration
Same asAbstractSegmentedStoreConfiguration.newConfigurationFrom(int)
except that you can utilize the intialization context when initializing the segmented store object. This method- Overrides:
newConfigurationFrom
in classAbstractSegmentedStoreConfiguration<SoftIndexFileStoreConfiguration>
- Parameters:
segment
- the segment to usectx
- the initialization context from the persistence layer- Returns:
- the newly created configuration
-
subElements
public java.util.List<ConfigurationInfo> subElements()
- Specified by:
subElements
in interfaceConfigurationInfo
- Overrides:
subElements
in classAbstractStoreConfiguration
- Returns:
- the list of sub elements.
-
dataLocation
public java.lang.String dataLocation()
-
indexLocation
public java.lang.String indexLocation()
-
indexSegments
public int indexSegments()
-
maxFileSize
public int maxFileSize()
-
minNodeSize
public int minNodeSize()
-
maxNodeSize
public int maxNodeSize()
-
indexQueueLength
public int indexQueueLength()
-
syncWrites
public boolean syncWrites()
-
openFilesLimit
public int openFilesLimit()
-
compactionThreshold
public double compactionThreshold()
-
index
public IndexConfiguration index()
-
data
public DataConfiguration data()
-
-