org.elasticsearch.index.cache
Class IndexCache

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.cache.IndexCache
All Implemented Interfaces:
IndexComponent

public class IndexCache
extends AbstractIndexComponent


Field Summary
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
IndexCache(Index index)
           
IndexCache(Index index, Settings indexSettings, FilterCache filterCache, FieldDataCache fieldDataCache)
           
 
Method Summary
 void clear()
           
 void clear(org.apache.lucene.index.IndexReader reader)
           
 void clearUnreferenced()
           
 FieldDataCache fieldData()
           
 FilterCache filter()
           
 
Methods inherited from class org.elasticsearch.index.AbstractIndexComponent
index, nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexCache

public IndexCache(Index index)

IndexCache

@Inject
public IndexCache(Index index,
                         @IndexSettings
                         Settings indexSettings,
                         FilterCache filterCache,
                         FieldDataCache fieldDataCache)
Method Detail

filter

public FilterCache filter()

fieldData

public FieldDataCache fieldData()

clear

public void clear(org.apache.lucene.index.IndexReader reader)

clear

public void clear()

clearUnreferenced

public void clearUnreferenced()