Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ICacheService..::.ReleaseCache Method
ICacheService Interface See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Release local resources associated with the specified instance of the cache.

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

# Syntax

C#
    void ReleaseCache(
    	INamedCache cache
    )

#### Parameters

cache
  Type: Tangosol.Net..::.INamedCache
  The cache object to be released.

# Remarks

This invalidates a reference obtained by using the EnsureCache(String) method.

Releasing a reference to a cache makes the cache reference no longer usable, but does not affect the cache itself. In other words, all other references to the cache will still be valid, and the cache data is not affected by releasing the reference.

The reference that is released using this method can no longer be used; any attempt to use the reference will result in an exception.

# See Also

ICacheService Interface
Tangosol.Net Namespace
INamedCache..::.Release()()()