public class IndexCache extends AbstractIndexComponent implements Closeable, ClusterStateListener
componentSettings, index, indexSettings, logger| Constructor and Description |
|---|
IndexCache(Index index,
Settings indexSettings,
FilterCache filterCache,
QueryParserCache queryParserCache,
DocSetCache docSetCache,
FixedBitSetFilterCache fixedBitSetFilterCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(String reason) |
void |
close() |
void |
clusterChanged(ClusterChangedEvent event)
Called when cluster state changes.
|
DocSetCache |
docSet() |
FilterCache |
filter() |
FixedBitSetFilterCache |
fixedBitSetFilterCache()
Return the
FixedBitSetFilterCache for this index. |
QueryParserCache |
queryParserCache() |
void |
setClusterService(ClusterService clusterService) |
index, nodeName@Inject public IndexCache(Index index, @IndexSettings Settings indexSettings, FilterCache filterCache, QueryParserCache queryParserCache, DocSetCache docSetCache, FixedBitSetFilterCache fixedBitSetFilterCache)
@Inject(optional=true) public void setClusterService(@Nullable ClusterService clusterService)
public FilterCache filter()
public DocSetCache docSet()
public FixedBitSetFilterCache fixedBitSetFilterCache()
FixedBitSetFilterCache for this index.public QueryParserCache queryParserCache()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void clear(String reason)
public void clusterChanged(ClusterChangedEvent event)
ClusterStateListenerclusterChanged in interface ClusterStateListenerCopyright © 2009–2016. All rights reserved.