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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitsetFilterCache
bitsetFilterCache()
Return theBitsetFilterCache
for this index.void
clear(java.lang.String reason)
void
close()
QueryCache
query()
-
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 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)
-
-