public class SimpleDocSetCache extends AbstractIndexComponent implements DocSetCache, org.apache.lucene.index.AtomicReader.CoreClosedListener
componentSettings, index, indexSettings, logger| Constructor and Description |
|---|
SimpleDocSetCache(Index index,
Settings indexSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(org.apache.lucene.index.IndexReader reader) |
void |
clear(String reason) |
ContextDocIdSet |
obtain(org.apache.lucene.index.AtomicReaderContext context) |
void |
onClose(Object coreCacheKey) |
void |
release(ContextDocIdSet docSet) |
index, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitindex@Inject public SimpleDocSetCache(Index index, @IndexSettings Settings indexSettings)
public void onClose(Object coreCacheKey)
onClose in interface org.apache.lucene.index.AtomicReader.CoreClosedListenerpublic void clear(String reason)
clear in interface DocSetCachepublic void clear(org.apache.lucene.index.IndexReader reader)
clear in interface DocSetCachepublic ContextDocIdSet obtain(org.apache.lucene.index.AtomicReaderContext context)
obtain in interface DocSetCachepublic void release(ContextDocIdSet docSet)
release in interface DocSetCacheCopyright © 2009–2016. All rights reserved.