Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
LocalCache..::.ConfigureUnitCalculator Method
LocalCache Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Configure the unit calculator type and implementation.

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.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

LocalCache Class
Tangosol.Net.Cache Namespace