Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
AbstractEvictionPolicy..::.EnsureCache Method
AbstractEvictionPolicy Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Return the IConfigurableCache that uses this eviction policy.

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

# Syntax

C#
    protected virtual IConfigurableCache EnsureCache(
    	CacheEventArgs evt
    )

#### Parameters

evt
  Type: Tangosol.Net.Cache..::.CacheEventArgs
  The CacheEventArgs raised by the LocalCache that uses this eviction policy.

#### Return Value

The LocalCache that uses this eviction policy.

# Remarks

If the LocalCache property has not been intialized, it is set to the LocalCache that raised the given event.

# See Also

AbstractEvictionPolicy Class
Tangosol.Net.Cache Namespace