|
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 |
public static interface ConfigurableCacheMap.UnitCalculator
A unit calculator is an object that can calculate the cost of caching an object.
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. |
Method Detail |
---|
int calculateUnits(java.lang.Object oKey, java.lang.Object oValue)
oKey
- the cache key to evaluate for unit costoValue
- the cache value to evaluate for unit cost
java.lang.String getName()
|
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 |