Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
AbstractCacheStore..::.StoreAll Method
AbstractCacheStore Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Store the specified values under the specified keys in the underlying store.

Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.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

Exception | Condition
--- | ---
System..::.NotSupportedException | If this implementation or the underlying store is read-only.

# See Also

AbstractCacheStore Class
Tangosol.Net.Cache Namespace