IGridMapPessimisticTx TKey, TValue  Put Method IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Puts the specified key and value into the data grid, replacing or adding a new entry to each data grid tier as needed.

Note: This method has the same specification as the ObjectMap.upsert method in the eXtreme Scale Java client.

Namespace: IBM.WebSphere.Caching.Map
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax

Parameters

key
Type: TKey
Specifies the key to be put in the data grid.
value
Type: TValue
Specifies the value to be put in the data grid.

Return Value

Exceptions

ExceptionCondition
System ArgumentException Occurs when a null key is specified.
IBM.WebSphere.Caching GridException Occurs when an error occurs during processing.
IBM.WebSphere.Caching.Security AccessControlException Occurs when the caller has insufficient authority to perform this operation.
Remarks

Specification details:
Required client permission:MapPermission.WRITE
Cache tier:Applied to all tiers during commit.
See Also