Package | Description |
---|---|
org.infinispan.lucene.directory | |
org.infinispan.lucene.impl |
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildContext.affinityLocationIntoSegment(int segmentId)
When set to a positive integer, this will force a specific data distribution:
the hashing function will resolve all keys used to store the various entries
for the resulting index to be owned by the specified segment id.
|
BuildContext |
BuildContext.chunkSize(int bytes)
Sets the chunkSize option for the Directory being created.
|
BuildContext |
BuildContext.deleteOperationsExecutor(Executor executor)
Provides an Executor to handle delete operations in a background thread
|
static BuildContext |
DirectoryBuilder.newDirectoryInstance(Cache<?,?> metadataCache,
Cache<?,?> chunksCache,
Cache<?,?> distLocksCache,
String indexName)
Starting point to create a Directory instance.
|
BuildContext |
BuildContext.overrideSegmentReadLocker(SegmentReadLocker srl)
Overrides the default SegmentReadLocker.
|
BuildContext |
BuildContext.overrideWriteLocker(org.apache.lucene.store.LockFactory lf)
Overrides the IndexWriter LockFactory
|
BuildContext |
BuildContext.writeFileListAsynchronously(boolean writeFileListAsync)
When set to true, the list of files of the Directory is propagated to other nodes
asynchronously.
|
Modifier and Type | Class and Description |
---|---|
class |
DirectoryBuilderImpl |
Modifier and Type | Method and Description |
---|---|
BuildContext |
DirectoryBuilderImpl.affinityLocationIntoSegment(int segmentId) |
BuildContext |
DirectoryBuilderImpl.chunkSize(int bytes) |
BuildContext |
DirectoryBuilderImpl.deleteOperationsExecutor(Executor executor) |
BuildContext |
DirectoryBuilderImpl.overrideSegmentReadLocker(SegmentReadLocker srl) |
BuildContext |
DirectoryBuilderImpl.overrideWriteLocker(org.apache.lucene.store.LockFactory lockFactory) |
BuildContext |
DirectoryBuilderImpl.writeFileListAsynchronously(boolean writeFileListAsync) |
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.