|
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 |
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 costjava.lang.IllegalArgumentException
- if any of the specified object types cannot be processed by this calculatorjava.lang.String getName()
|
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 |