org.elasticsearch.index.cache.field.data.soft
Class SoftFieldDataCache
java.lang.Object
org.elasticsearch.index.AbstractIndexComponent
org.elasticsearch.index.cache.field.data.support.AbstractConcurrentMapFieldDataCache
org.elasticsearch.index.cache.field.data.soft.SoftFieldDataCache
- All Implemented Interfaces:
- com.google.common.cache.RemovalListener<String,FieldData>, org.apache.lucene.index.SegmentReader.CoreClosedListener, CloseableComponent, FieldDataCache, IndexComponent
public class SoftFieldDataCache
- extends AbstractConcurrentMapFieldDataCache
- implements com.google.common.cache.RemovalListener<String,FieldData>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoftFieldDataCache
@Inject
public SoftFieldDataCache(Index index,
@IndexSettings
Settings indexSettings)
buildFieldDataMap
protected com.google.common.cache.Cache<String,FieldData> buildFieldDataMap()
- Specified by:
buildFieldDataMap
in class AbstractConcurrentMapFieldDataCache
evictions
public long evictions()
- Specified by:
evictions
in interface FieldDataCache
type
public String type()
- Specified by:
type
in interface FieldDataCache
onRemoval
public void onRemoval(com.google.common.cache.RemovalNotification<String,FieldData> removalNotification)
- Specified by:
onRemoval
in interface com.google.common.cache.RemovalListener<String,FieldData>
Copyright © 2009-2012. All Rights Reserved.