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 org.infinispan.commons.configuration.attributes.AttributeDefinition<Double>
COMPACTION_THRESHOLD
static org.infinispan.commons.configuration.elements.ElementDefinition
ELEMENT_DEFINITION
static org.infinispan.commons.configuration.attributes.AttributeDefinition<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(org.infinispan.commons.configuration.attributes.AttributeSet attributes, AsyncStoreConfiguration async, IndexConfiguration indexConfiguration, DataConfiguration dataConfiguration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.infinispan.commons.configuration.attributes.AttributeSet
attributeDefinitionSet()
double
compactionThreshold()
DataConfiguration
data()
String
dataLocation()
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
IndexConfiguration
index()
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()
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 interface org.infinispan.commons.configuration.BaseConfigurationInfo
attributes
-
-
-
-
Field Detail
-
OPEN_FILES_LIMIT
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> OPEN_FILES_LIMIT
-
COMPACTION_THRESHOLD
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Double> COMPACTION_THRESHOLD
-
ELEMENT_DEFINITION
public static org.infinispan.commons.configuration.elements.ElementDefinition ELEMENT_DEFINITION
-
-
Constructor Detail
-
SoftIndexFileStoreConfiguration
public SoftIndexFileStoreConfiguration(org.infinispan.commons.configuration.attributes.AttributeSet attributes, AsyncStoreConfiguration async, IndexConfiguration indexConfiguration, DataConfiguration dataConfiguration)
-
-
Method Detail
-
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
-
getElementDefinition
public org.infinispan.commons.configuration.elements.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 List<ConfigurationInfo> subElements()
- Specified by:
subElements
in interfaceConfigurationInfo
- Overrides:
subElements
in classAbstractStoreConfiguration
- Returns:
- the list of sub elements.
-
dataLocation
public String dataLocation()
-
indexLocation
public 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()
-
-