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#
public static void ReleaseCache(
	INamedCache cache
)

Parameters

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

Remarks

This invalidates a reference obtained by using one of the factory methods (
GetReplicatedCache, GetOptimisticCache
).

Releasing an INamedCache reference makes it no longer usable, but does not affect the content of the cache. 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