public class IndexCache extends AbstractIndexComponent implements Closeable
deprecationLogger, index, indexSettings, logger
Constructor and Description |
---|
IndexCache(Index index,
IndexSettingsService indexSettingsService,
QueryCache queryCache,
BitsetFilterCache bitsetFilterCache) |
Modifier and Type | Method and Description |
---|---|
BitsetFilterCache |
bitsetFilterCache()
Return the
BitsetFilterCache for this index. |
void |
clear(String reason) |
void |
close() |
QueryCache |
query() |
index, indexSettings
@Inject public IndexCache(Index index, IndexSettingsService indexSettingsService, QueryCache queryCache, BitsetFilterCache bitsetFilterCache)
public QueryCache query()
public BitsetFilterCache bitsetFilterCache()
BitsetFilterCache
for this index.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void clear(String reason)
Copyright © 2009–2017. All rights reserved.