INamedCacheDestroy Method  | 
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
 
            Release and destroy this instance of INamedCache.
            
 
    Namespace: 
   Tangosol.Net
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
RemarksWarning: 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