Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Remove the specified keys from the underlying store if present.

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

Syntax

C#
public void EraseAll(
	ICollection keys
)

Parameters

keys
Type: System.Collections..::..ICollection
Keys whose mappings are being removed from the cache.

Implements

ICacheStore..::..EraseAll(ICollection)

Remarks

The implementation of this method calls Erase(Object) for each key in the supplied ICollection. Once erased successfully, a key is removed from the ICollection (if possible).

Note: For many types of persistent stores, a single erase operation is as expensive as a bulk erase operation; therefore, subclasses should override this method if possible.

Exceptions

ExceptionCondition
System..::..NotSupportedException If this implementation or the underlying store is read-only.

See Also