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_THRESHOLDstatic ElementDefinitionELEMENT_DEFINITIONstatic 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 AttributeSetattributeDefinitionSet()doublecompactionThreshold()DataConfigurationdata()java.lang.StringdataLocation()ElementDefinitiongetElementDefinition()IndexConfigurationindex()java.lang.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()java.util.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 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:
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 java.util.List<ConfigurationInfo> subElements()
- Specified by:
subElementsin interfaceConfigurationInfo- Overrides:
subElementsin 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()
-
-