Store the specified values under the specified keys in the underlying store.

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

Syntax

C#
public void StoreAll(
	IDictionary dictionary
)

Parameters

dictionary
Type: System.Collections..::..IDictionary
An IDictionary of any number of keys and values to store.

Implements

ICacheStore..::..StoreAll(IDictionary)

Remarks

This method is intended to support both key/value creation and value update for the specified keys.

The implementation of this method calls Store(Object, Object) for each entry in the supplied IDictionary. Once stored successfully, an entry is removed from the IDictionary (if possible).

Note: For many types of persistent stores, a single store operation is as expensive as a bulk store 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