org.elasticsearch.index.cache.filter.none
Class NoneFilterCache

java.lang.Object
  extended by org.elasticsearch.index.AbstractIndexComponent
      extended by org.elasticsearch.index.cache.filter.none.NoneFilterCache
All Implemented Interfaces:
CloseableComponent, FilterCache, IndexComponent

public class NoneFilterCache
extends AbstractIndexComponent
implements FilterCache


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.index.cache.filter.FilterCache
FilterCache.EntriesStats
 
Field Summary
 
Fields inherited from class org.elasticsearch.index.AbstractIndexComponent
componentSettings, index, indexSettings, logger
 
Constructor Summary
NoneFilterCache(Index index, Settings indexSettings)
           
 
Method Summary
 org.apache.lucene.search.Filter cache(org.apache.lucene.search.Filter filterToCache)
           
 void clear(org.apache.lucene.index.IndexReader reader)
           
 void clear(String reason)
           
 void close()
           
 FilterCache.EntriesStats entriesStats()
           
 long evictions()
           
 boolean isCached(org.apache.lucene.search.Filter filter)
           
 String type()
           
 
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
 
Methods inherited from interface org.elasticsearch.index.IndexComponent
index
 

Constructor Detail

NoneFilterCache

@Inject
public NoneFilterCache(Index index,
                              @IndexSettings
                              Settings indexSettings)
Method Detail

type

public String type()
Specified by:
type in interface FilterCache

close

public void close()
Specified by:
close in interface CloseableComponent

cache

public org.apache.lucene.search.Filter cache(org.apache.lucene.search.Filter filterToCache)
Specified by:
cache in interface FilterCache

isCached

public boolean isCached(org.apache.lucene.search.Filter filter)
Specified by:
isCached in interface FilterCache

clear

public void clear(String reason)
Specified by:
clear in interface FilterCache

clear

public void clear(org.apache.lucene.index.IndexReader reader)
Specified by:
clear in interface FilterCache

entriesStats

public FilterCache.EntriesStats entriesStats()
Specified by:
entriesStats in interface FilterCache

evictions

public long evictions()
Specified by:
evictions in interface FilterCache


Copyright © 2009-2012. All Rights Reserved.