|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||