Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ContinuousQueryCache..::.Clear Method
ContinuousQueryCache Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Removes all mappings from this cache.

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

# Syntax

C#
    public override void Clear()

#### Implements

IDictionary..::.Clear()()()
IDictionary..::.Clear()()()

# Remarks

Some implementations will attempt to lock the entire cache (if necessary) before preceeding with the clear operation. For such implementations, the entire cache has to be either already locked or able to be locked for this operation to succeed.

# Exceptions

Exception | Condition
--- | ---
System..::.InvalidOperationException | If the lock could not be succesfully obtained for some key.

# See Also

ContinuousQueryCache Class
Tangosol.Net.Cache Namespace