Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Release local resources associated with the specified instance of the cache.

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

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