public static interface ConfigurableCacheMap.UnitCalculator
| Modifier and Type | Method and Description | 
|---|---|
int | 
calculateUnits(Object oKey,
              Object oValue)
Calculate a cache cost for the specified cache entry key and value. 
 | 
String | 
getName()
Obtain the name of the unit calculator. 
 | 
int calculateUnits(Object oKey, Object oValue)
oKey - the cache key to evaluate for unit costoValue - the cache value to evaluate for unit costIllegalArgumentException - if any of the specified object types
         cannot be processed by this calculatorString getName()