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 AttributeDefinition<java.lang.String>DATA_LOCATIONstatic ElementDefinitionELEMENT_DEFINITIONstatic AttributeDefinition<java.lang.String>INDEX_LOCATIONstatic AttributeDefinition<java.lang.Integer>INDEX_QUEUE_LENGTHstatic AttributeDefinition<java.lang.Integer>INDEX_SEGMENTSstatic AttributeDefinition<java.lang.Integer>MAX_FILE_SIZEstatic AttributeDefinition<java.lang.Integer>MAX_NODE_SIZEstatic AttributeDefinition<java.lang.Integer>MIN_NODE_SIZEstatic AttributeDefinition<java.lang.Integer>OPEN_FILES_LIMITstatic AttributeDefinition<java.lang.Boolean>SYNC_WRITES-
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()ElementDefinitiongetElementDefinition()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, subElements, 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
-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationInfo
subElements
-
-
-
-
Field Detail
-
DATA_LOCATION
public static final AttributeDefinition<java.lang.String> DATA_LOCATION
-
INDEX_LOCATION
public static final AttributeDefinition<java.lang.String> INDEX_LOCATION
-
INDEX_SEGMENTS
public static final AttributeDefinition<java.lang.Integer> INDEX_SEGMENTS
-
MAX_FILE_SIZE
public static final AttributeDefinition<java.lang.Integer> MAX_FILE_SIZE
-
MIN_NODE_SIZE
public static final AttributeDefinition<java.lang.Integer> MIN_NODE_SIZE
-
MAX_NODE_SIZE
public static final AttributeDefinition<java.lang.Integer> MAX_NODE_SIZE
-
INDEX_QUEUE_LENGTH
public static final AttributeDefinition<java.lang.Integer> INDEX_QUEUE_LENGTH
-
SYNC_WRITES
public static final AttributeDefinition<java.lang.Boolean> SYNC_WRITES
-
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, SingletonStoreConfiguration singletonStore)
-
-
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)
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()
-
-