Oracle® Coherence .NET API Reference Release 3.6
E15727-01

Configure the unit calculator type and implementation.

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

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