Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Calculate a cache cost for the specified cache entry key and value.

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
int CalculateUnits(
	Object oKey,
	Object oValue
)

Parameters

oKey
Type: System..::..Object
The cache key to evaluate for unit cost.
oValue
Type: System..::..Object
The cache value to evaluate for unit cost.

Return Value

An integer value 0 or greater, with a larger value signifying a higher cost.

See Also