Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 126.96.36.199
void PutAll( <TKey, TValue> map, timeout, callbackArg )
void PutAll( IDictionary<TKey, TValue> map, int timeout, Object callbackArg )
Sub PutAll ( _ map As (Of TKey, TValue), _ timeout As , _ callbackArg As _ )
Sub PutAll ( _ map As IDictionary(Of TKey, TValue), _ timeout As Integer, _ callbackArg As Object _ )
void PutAll( <TKey, TValue>^ map, timeout, ^ callbackArg )
void PutAll( IDictionary<TKey, TValue>^ map, int timeout, Object^ callbackArg )
- Type: TKey, TValue
A map contains entries, i.e. (key, value) pairs. It is generic collection of key/value pairs. Value should not be null in any of the entries.
The time (in seconds) to wait for the PutAll response. It should be less than or equal to 2^31/1000 i.e. 2147483. Optional.
a user-defined parameter to pass to callback events triggered by this method
|If timeout is more than 2^31/1000 i.e. 2147483.|
|if any value in the map is null|
|if region has been destroyed|
|If an exception is received from the Java cache server. Only for Native Client regions.|
|if not connected to the GemFire system because the client cannot establish usable connections to any of the servers given to it. For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException.|
|if the operation timed out|
|if there is not enough memory for the value|
|if it is called by local region instance|
If there is already an entry associated with any key in the map in this region, the entry's previous value is overwritten. The new values are propogated to the java server to which it is connected with. PutAll is intended for speed up large amount of put operation into the same region. For local region instance - this method is not applicable.