Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Release and destroy this instance of INamedCache.

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

Syntax

C#
void Destroy()

Remarks

Warning: This method is used to completely destroy the specified cache across the cluster. All references in the entire cluster to this cache will be invalidated, the cached data will be cleared, and all resources will be released.

Caches should be destroyed by the same mechansim in which they were obtained. For example:

  • new Cache() - cache.Destroy()
  • CacheFactory.GetCache() - CacheFactory.DestroyCache()
  • ConfigurableCacheFactory.EnsureCache() - ConfigurableCacheFactory.DestroyCache()
Except for the case where the application code expicitly allocated the cache, this method should not be called by application code.

See Also