Package | Description |
---|---|
org.infinispan.lucene |
Lucene Directory implementation which stores the index in Infinispan.
|
org.infinispan.lucene.directory | |
org.infinispan.lucene.impl | |
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)
Deprecated.
|
InfinispanDirectory(Cache<?,?> cache,
String indexName,
int chunkSize,
SegmentReadLocker readLocker)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BuildContext |
BuildContext.overrideSegmentReadLocker(SegmentReadLocker srl)
Overrides the default SegmentReadLocker.
|
Modifier and Type | Method and Description |
---|---|
BuildContext |
DirectoryBuilderImpl.overrideSegmentReadLocker(SegmentReadLocker srl) |
Constructor and Description |
---|
IndexInputContext(AdvancedCache<ChunkCacheKey,Object> 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 Infinispan based Directory . |
class |
NoopSegmentReadLocker
NoopSegmentReadLocker ignores requests to apply a readlock, but also ignores requests to delete files.
|
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.