Class SoftIndexFileStoreConfiguration
java.lang.Object
org.infinispan.configuration.cache.AbstractStoreConfiguration
org.infinispan.persistence.sifs.configuration.SoftIndexFileStoreConfiguration
- All Implemented Interfaces:
StoreConfiguration
- Direct Known Subclasses:
SFSToSIFSConfiguration
- 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
attributes, MAX_BATCH_SIZE, PRELOAD, PROPERTIES, PURGE_ON_STARTUP, READ_ONLY, SEGMENTED, SHARED, TRANSACTIONAL, WRITE_ONLY
-
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
toString()
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
async, attributes, equals, fetchPersistentState, hashCode, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, transactional, writeOnly
-
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
-
toString
- Overrides:
toString
in classAbstractStoreConfiguration
-