Class LuceneLoaderConfiguration
- java.lang.Object
-
- org.infinispan.configuration.cache.AbstractStoreConfiguration
-
- org.infinispan.lucene.cacheloader.configuration.LuceneLoaderConfiguration
-
- All Implemented Interfaces:
StoreConfiguration
public class LuceneLoaderConfiguration extends AbstractStoreConfiguration
Configuration bean for theLuceneCacheLoader
.- Since:
- 6.0.0
- Author:
- navssurtani
-
-
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 LuceneLoaderConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
affinitySegmentId()
When Index Affinity is enabled, this returns the segment id to which the current index is bound to.static AttributeSet
attributeDefinitionSet()
int
autoChunkSize()
When the segment size is larger than this number of bytes, separate segments will be created of this particular size.String
location()
The location of the root directory of the index.String
toString()
-
Methods inherited from class org.infinispan.configuration.cache.AbstractStoreConfiguration
async, attributes, equals, fetchPersistentState, hashCode, ignoreModifications, maxBatchSize, preload, properties, purgeOnStartup, segmented, shared, singletonStore, transactional
-
-
-
-
Constructor Detail
-
LuceneLoaderConfiguration
public LuceneLoaderConfiguration(AttributeSet attributes, AsyncStoreConfiguration async, SingletonStoreConfiguration singletonStore)
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
autoChunkSize
public int autoChunkSize()
When the segment size is larger than this number of bytes, separate segments will be created of this particular size.- Returns:
- the segmentation size.
-
location
public String location()
The location of the root directory of the index.- Returns:
- the index location root directory.
-
affinitySegmentId
public int affinitySegmentId()
When Index Affinity is enabled, this returns the segment id to which the current index is bound to.
-
toString
public String toString()
- Overrides:
toString
in classAbstractStoreConfiguration
-
-