LocalCacheEntryCalculateUnits Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Calculate a cache cost for the specified object.
Namespace:
Tangosol.Net.Cache
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic virtual int CalculateUnits(
Object value
)
Parameters
- value
- 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.
Remarks
The default implementation uses the unit calculator type of
the containing cache.
See Also