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

Configure the eviction type and policy.

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

Syntax

C#
protected virtual void ConfigureEviction(
	LocalCache..::.EvictionPolicyType type,
	IEvictionPolicy policy
)

Parameters

type
Type: Tangosol.Net.Cache..::.LocalCache..::.EvictionPolicyType
One of the LocalCache..::.EvictionPolicyType enum values.
policy
Type: Tangosol.Net.Cache..::.IEvictionPolicy
An external eviction policy, or null.

Remarks

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

See Also