Package | Description |
---|---|
org.infinispan.lucene |
Lucene Directory implementation which stores the index in Infinispan.
|
org.infinispan.lucene.readlocks |
Several implementations for a SegmentReadLocker, pick one depending on your use case.
|
Constructor and Description |
---|
InfinispanDirectory(Cache<?,?> metadataCache,
Cache<?,?> chunksCache,
String indexName,
org.apache.lucene.store.LockFactory lf,
int chunkSize,
SegmentReadLocker readLocker) |
InfinispanDirectory(Cache<?,?> cache,
String indexName,
int chunkSize,
SegmentReadLocker readLocker) |
InfinispanIndexInput(AdvancedCache<?,?> chunksCache,
FileCacheKey fileKey,
FileMetadata fileMetadata,
SegmentReadLocker readLocks) |
Modifier and Type | Class and Description |
---|---|
class |
DistributedSegmentReadLocker
DistributedSegmentReadLocker stores reference counters in the cache
to keep track of the number of clients still needing to be able
to read a segment.
|
class |
LocalLockMergingSegmentReadLocker
LocalLockMergingSegmentReadLocker decorates the
DistributedSegmentReadLocker to minimize
remote operations in case several IndexReaders are opened on the same InfinispanDirectory . |
class |
NoopSegmentReadLocker
NoopSegmentReadLocker ignores requests to apply a readlock, but also ignores requests to delete files.
|
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.