|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.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.UnitCalculatoroKey - the cache key to evaluate for unit costoValue - the cache value to evaluate for unit cost
public java.lang.String getName()
getName in interface ConfigurableCacheMap.UnitCalculator
|
Oracle® Coherence Java API Reference v3.5.3 E15583-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||