Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
CacheFactory..::.GetCache Method
CacheFactory Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Return an instance of a cache configured by the current ConfigurableCacheFactory.

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

# Syntax

C#
    public static INamedCache GetCache(
    	string name
    )

#### Parameters

name
  Type: System..::.String
  Cache name (unique for a given configurable cache factory). If the INamedCache with the specified name already exists, a reference to the same object will be returned.

#### Return Value

The INamedCache object.

# Remarks

This helper method is a simple wrapper around EnsureCache(String) method.

# See Also

CacheFactory Class
Tangosol.Net Namespace