Class DisabledQueryCache
- java.lang.Object
-
- org.elasticsearch.index.AbstractIndexComponent
-
- org.elasticsearch.index.cache.query.DisabledQueryCache
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.apache.lucene.search.QueryCache,QueryCache,IndexComponent
public class DisabledQueryCache extends AbstractIndexComponent implements QueryCache
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
-
Constructor Summary
Constructors Constructor Description DisabledQueryCache(IndexSettings indexSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(java.lang.String reason)voidclose()org.apache.lucene.search.WeightdoCache(org.apache.lucene.search.Weight weight, org.apache.lucene.search.QueryCachingPolicy policy)-
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
getIndexSettings, index
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
-
-
-
-
Constructor Detail
-
DisabledQueryCache
public DisabledQueryCache(IndexSettings indexSettings)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
doCache
public org.apache.lucene.search.Weight doCache(org.apache.lucene.search.Weight weight, org.apache.lucene.search.QueryCachingPolicy policy)- Specified by:
doCachein interfaceorg.apache.lucene.search.QueryCache
-
clear
public void clear(java.lang.String reason)
- Specified by:
clearin interfaceQueryCache
-
-