Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Configure the unit calculator type and implementation.

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

Syntax

C#
protected virtual void ConfigureUnitCalculator(
	LocalCache..::.UnitCalculatorType type,
	IUnitCalculator calculator
)

Parameters

type
Type: Tangosol.Net.Cache..::.LocalCache..::.UnitCalculatorType
One of the LocalCache..::.UnitCalculatorType enum values.
calculator
Type: Tangosol.Net.Cache..::.IUnitCalculator
An external unit calculator, or null.

Remarks

This method should only be called while holding the write lock.

See Also