Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
IDictionary..::..Clear()()()()
12c (12.2.1.4.0)
E90869-02
Removes all mappings from this cache.
Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
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. |