Class SoftIndexFileStoreConfiguration
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<AbstractStoreConfiguration<SoftIndexFileStoreConfiguration>>
org.infinispan.configuration.cache.AbstractStoreConfiguration<SoftIndexFileStoreConfiguration>
org.infinispan.persistence.sifs.configuration.SoftIndexFileStoreConfiguration
- All Implemented Interfaces:
Matchable<AbstractStoreConfiguration<SoftIndexFileStoreConfiguration>>
,Updatable<AbstractStoreConfiguration<SoftIndexFileStoreConfiguration>>
,StoreConfiguration
- Direct Known Subclasses:
SFSToSIFSConfiguration
public class SoftIndexFileStoreConfiguration
extends AbstractStoreConfiguration<SoftIndexFileStoreConfiguration>
- Author:
- Radim Vansa <rvansa@redhat.com>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AttributeDefinition
<Double> static final AttributeDefinition
<Integer> Fields inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
MAX_BATCH_SIZE, PRELOAD, PROPERTIES, PURGE_ON_STARTUP, READ_ONLY, SEGMENTED, SHARED, TRANSACTIONAL, WRITE_ONLY
Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated
-
Constructor Summary
ConstructorDescriptionSoftIndexFileStoreConfiguration
(AttributeSet attributes, AsyncStoreConfiguration async, IndexConfiguration indexConfiguration, DataConfiguration dataConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeSet
double
data()
index()
int
int
Deprecated, for removal: This API element is subject to removal in a future version.int
int
int
int
The maximum number of files that will be open at a given time for all the data and index files, which does not include compactor and current log file (which will always be 2).boolean
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
async, fetchPersistentState, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, transactional, writeOnly
Methods inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, child, children, children, elementName, equals, findAttribute, hashCode, isModified, list, matches, toString, update, validateUpdate, write
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.configuration.cache.StoreConfiguration
attributes
-
Field Details
-
OPEN_FILES_LIMIT
-
COMPACTION_THRESHOLD
-
-
Constructor Details
-
SoftIndexFileStoreConfiguration
public SoftIndexFileStoreConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, IndexConfiguration indexConfiguration, DataConfiguration dataConfiguration)
-
-
Method Details
-
attributeDefinitionSet
-
dataLocation
-
indexLocation
-
indexSegments
Deprecated, for removal: This API element is subject to removal in a future version.This is no longer used as we create an index file per cache segment instead -
maxFileSize
public int maxFileSize() -
minNodeSize
public int minNodeSize() -
maxNodeSize
public int maxNodeSize() -
indexQueueLength
public int indexQueueLength() -
syncWrites
public boolean syncWrites() -
openFilesLimit
public int openFilesLimit()The maximum number of files that will be open at a given time for all the data and index files, which does not include compactor and current log file (which will always be 2). Note that the number of data files is effectively unlimited, where as we have an index file per segment.Index files will reserve 1/10th of the open files, with a minimum value of 1 and a maximum equal to the number of cache segments.
- Returns:
- How many open files SIFS will utilize
-
compactionThreshold
public double compactionThreshold() -
index
-
data
-