Package org.elasticsearch.index.cache
Class IndexCache
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.cache.IndexCache
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,IndexComponent
public class IndexCache extends AbstractIndexComponent implements java.io.Closeable
-
Field Summary
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger -
Constructor Summary
Constructors Constructor Description IndexCache(IndexSettings indexSettings, QueryCache queryCache, BitsetFilterCache bitsetFilterCache) -
Method Summary
Modifier and Type Method Description BitsetFilterCachebitsetFilterCache()Return theBitsetFilterCachefor this index.voidclear(java.lang.String reason)voidclose()QueryCachequery()Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, indexMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
IndexCache
public IndexCache(IndexSettings indexSettings, QueryCache queryCache, BitsetFilterCache bitsetFilterCache)
-
-
Method Details
-
query
-
bitsetFilterCache
Return theBitsetFilterCachefor this index. -
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
clear
public void clear(java.lang.String reason)
-