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, index
-
-
-
-
Constructor Detail
-
IndexCache
public IndexCache(IndexSettings indexSettings, QueryCache queryCache, BitsetFilterCache bitsetFilterCache)
-
-
Method Detail
-
query
public QueryCache query()
-
bitsetFilterCache
public BitsetFilterCache 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)
-
-