Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Configure the eviction type and policy.

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

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