Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Remove the specified keys from the underlying store if present.

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

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