IUnitCalculatorCalculateUnits Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Calculate a cache cost for the specified cache entry key and value.
Namespace:
Tangosol.Net.Cache
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxint CalculateUnits(
Object oKey,
Object oValue
)
Parameters
- oKey
- Type: SystemObject
The cache key to evaluate for unit cost.
- oValue
- Type: SystemObject
The cache value to evaluate for unit cost.
Return Value
Type:
Int32
An integer value 0 or greater, with a larger value signifying
a higher cost.
See Also