public static class IndicesFieldDataCache.FieldDataWeigher extends Object implements com.google.common.cache.Weigher<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>
Constructor and Description |
---|
FieldDataWeigher() |
Modifier and Type | Method and Description |
---|---|
int |
weigh(IndicesFieldDataCache.Key key,
org.apache.lucene.util.Accountable ramUsage) |
public int weigh(IndicesFieldDataCache.Key key, org.apache.lucene.util.Accountable ramUsage)
weigh
in interface com.google.common.cache.Weigher<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>
Copyright © 2009–2016. All rights reserved.