org.elasticsearch.index.cache.field.data.none
Class NoneFieldDataCache
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.cache.field.data.none.NoneFieldDataCache
- All Implemented Interfaces:
- CloseableComponent, FieldDataCache, IndexComponent
public class NoneFieldDataCache
- extends AbstractIndexComponent
- implements FieldDataCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoneFieldDataCache
@Inject
public NoneFieldDataCache(Index index,
@IndexSettings
Settings indexSettings)
cache
public FieldData cache(FieldDataType type,
org.apache.lucene.index.IndexReader reader,
String fieldName)
throws IOException
- Specified by:
cache
in interface FieldDataCache
- Throws:
IOException
type
public String type()
- Specified by:
type
in interface FieldDataCache
clear
public void clear(String reason,
String fieldName)
- Specified by:
clear
in interface FieldDataCache
clear
public void clear(String reason)
- Specified by:
clear
in interface FieldDataCache
clear
public void clear(org.apache.lucene.index.IndexReader reader)
- Specified by:
clear
in interface FieldDataCache
close
public void close()
throws ElasticSearchException
- Specified by:
close
in interface CloseableComponent
- Throws:
ElasticSearchException
sizeInBytes
public long sizeInBytes()
- Specified by:
sizeInBytes
in interface FieldDataCache
sizeInBytes
public long sizeInBytes(String fieldName)
- Specified by:
sizeInBytes
in interface FieldDataCache
evictions
public long evictions()
- Specified by:
evictions
in interface FieldDataCache
Copyright © 2009-2012. All Rights Reserved.