Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Removes all mappings from this dictionary.

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

Syntax

C#
public virtual void Clear()

Implements

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

Remarks

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

Exceptions

ExceptionCondition
System..::..InvalidOperationException If the lock could not be succesfully obtained for some key.

See Also