Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.1.3.0.0)
E47892-01
Release local resources associated with the specified cache instance.

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

Syntax

C#
public virtual void ReleaseCache(
	INamedCache cache
)

Parameters

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

Implements

IConfigurableCacheFactory..::..ReleaseCache(INamedCache)

Remarks

This invalidates a reference obtained from the factory.

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