Click or drag to resize

ICacheServiceEnsureCache Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Obtain an INamedCache interface that provides a view of cached resources.

Namespace:  Tangosol.Net
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
INamedCache EnsureCache(
	string name
)

Parameters

name
Type: SystemString
The name, within this ICacheService, that uniquely identifies a view; null is legal, and may imply a default name.

Return Value

Type: INamedCache
An INamedCache interface which can be used to access the resources of the specified view.
Exceptions
ExceptionCondition
InvalidOperationException If the service is not running.
Remarks
The view is identified by name within this ICacheService. Typically, repeated calls to this method with the same view name will result in the same view reference being returned.
See Also