AbstractCacheStoreStoreAll Method |
Namespace: Tangosol.Net.Cache
public void StoreAll( IDictionary dictionary )
Exception | Condition |
---|---|
NotSupportedException | If this implementation or the underlying store is read-only. |
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.