K
- the key typeV
- the value typepublic abstract class ClientCacheEntryWeigher<K,V>
extends java.lang.Object
ClientCacheEntryWeigher
is used to evaluate a ClientCacheEntry
's weight in the weighted ClientCache
.Constructor and Description |
---|
ClientCacheEntryWeigher()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
evaluateEntryWeight(ClientCacheEntry<K,V> entry)
Evaluates the weight of the entry.
|
public abstract int evaluateEntryWeight(ClientCacheEntry<K,V> entry)
entry
- the ClientCacheEntry