Click or drag to resize

IUnitCalculatorCalculateUnits Method

.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
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.1 (14.1.1.1)
Syntax
C#
int 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