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 BitsetFilterCache
bitsetFilterCache()
Return theBitsetFilterCache
for this index.void
clear(java.lang.String reason)
void
close()
QueryCache
query()
-
Constructor Details
-
IndexCache
public IndexCache(IndexSettings indexSettings, QueryCache queryCache, BitsetFilterCache bitsetFilterCache)
-
-
Method Details
-
query
-
bitsetFilterCache
Return theBitsetFilterCache
for this index. -
close
public void close() throws java.io.IOException- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
clear
public void clear(java.lang.String reason)
-