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_THRESHOLDstatic org.infinispan.commons.configuration.elements.ElementDefinitionELEMENT_DEFINITIONstatic 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.AttributeSetattributeDefinitionSet()doublecompactionThreshold()DataConfigurationdata()StringdataLocation()org.infinispan.commons.configuration.elements.ElementDefinitiongetElementDefinition()IndexConfigurationindex()StringindexLocation()intindexQueueLength()intindexSegments()intmaxFileSize()intmaxNodeSize()intminNodeSize()SoftIndexFileStoreConfigurationnewConfigurationFrom(int segment, InitializationContext ctx)Same asAbstractSegmentedStoreConfiguration.newConfigurationFrom(int)except that you can utilize the intialization context when initializing the segmented store object.intopenFilesLimit()List<ConfigurationInfo>subElements()booleansyncWrites()-
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:
getElementDefinitionin interfaceBaseConfigurationInfo- Returns:
- the
ElementDefinitionof the configuration.
-
newConfigurationFrom
public SoftIndexFileStoreConfiguration newConfigurationFrom(int segment, InitializationContext ctx)
Description copied from class:AbstractSegmentedStoreConfigurationSame asAbstractSegmentedStoreConfiguration.newConfigurationFrom(int)except that you can utilize the intialization context when initializing the segmented store object. This method- Overrides:
newConfigurationFromin 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:
subElementsin interfaceConfigurationInfo- Overrides:
subElementsin 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()
-
-