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:
StoreConfiguration
public class SoftIndexFileStoreConfiguration extends AbstractSegmentedStoreConfiguration<SoftIndexFileStoreConfiguration>
- Author:
- Radim Vansa <rvansa@redhat.com>
-
-
Field Summary
-
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, SingletonStoreConfiguration singletonStore)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeSetattributeDefinitionSet()doublecompactionThreshold()java.lang.StringdataLocation()java.lang.StringindexLocation()intindexQueueLength()intindexSegments()intmaxFileSize()intmaxNodeSize()intminNodeSize()SoftIndexFileStoreConfigurationnewConfigurationFrom(int segment)Method that is invoked each time a new store is created for a segment.intopenFilesLimit()booleansyncWrites()-
Methods inherited from class org.infinispan.configuration.cache.AbstractSegmentedStoreConfiguration
fileLocationTransform
-
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
async, attributes, equals, fetchPersistentState, hashCode, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, singletonStore, toString, transactional
-
-
-
-
Constructor Detail
-
SoftIndexFileStoreConfiguration
public SoftIndexFileStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
newConfigurationFrom
public SoftIndexFileStoreConfiguration newConfigurationFrom(int segment)
Description copied from class:AbstractSegmentedStoreConfigurationMethod that is invoked each time a new store is created for a segment. This method should return a new configuration that is configured to be persisted using the given segment.- Specified by:
newConfigurationFromin classAbstractSegmentedStoreConfiguration<SoftIndexFileStoreConfiguration>- Parameters:
segment- the segment to use- Returns:
- the newly created configuration
-
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()
-
-