Click or drag to resize
RegionPutAll Method (CacheableHashMap)
Puts a map of entries in this region.

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public void PutAll(
	CacheableHashMap map
)

Parameters

map
Type: GemStone.GemFire.CacheCacheableHashMap
A hashmap contains entries, i.e. (key, value) pairs. Value should not be null in any of the enties.
Exceptions
ExceptionCondition
NullPointerException if any value in the map is null
RegionDestroyedException if region has been destroyed
CacheServerException If an exception is received from the Java cache server. Only for Native Client regions.
NotConnectedException 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.
TimeoutException if the operation timed out
OutOfMemoryException if there is not enough memory for the value
Remarks

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.

See Also