LocalCacheEntryCalculateUnits Method  | 
.NET API Reference for Oracle® Coherence Community Edition 
 (14.1.1.0)
E55634-01
 
            Calculate a cache cost for the specified object.
            
 
    Namespace: 
   Tangosol.Net.Cache
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
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