|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.net.cache.OldCache.InternalUnitCalculator
public static class OldCache.InternalUnitCalculator
The InternalUnitCalculator represents a pluggable UnitCalculator for the non-pluggable built-in (internal) UnitCalculator implementation provided by this cache implementation.
Field Summary | |
---|---|
static OldCache.InternalUnitCalculator |
INSTANCE Singleton instance. |
Method Summary | |
---|---|
int |
calculateUnits(java.lang.Object oKey, java.lang.Object oValue) Calculate a cache cost for the specified cache entry key and value. |
java.lang.String |
getName() Obtain the name of the unit calculator. |
Field Detail |
---|
public static final OldCache.InternalUnitCalculator INSTANCE
Method Detail |
---|
public int calculateUnits(java.lang.Object oKey, java.lang.Object oValue)
calculateUnits
in interface ConfigurableCacheMap.UnitCalculator
oKey
- the cache key to evaluate for unit costoValue
- the cache value to evaluate for unit costpublic java.lang.String getName()
getName
in interface ConfigurableCacheMap.UnitCalculator
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |