Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)
E18812-01
Configure the eviction type and policy.
Namespace:
Tangosol.Net.CacheAssembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)
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.