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

Replaces the existing entry that is associated with the specified key with the specified value from the data grid and Loader (back-end persistent store).

If the key cannot be found in the data grid a CacheKeyNotFoundException exception results during the commit operation.

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 updated.
value
Type: TValue
Specifies the value to be updated in the data grid and Loader.

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