Locks the key and then gets and returns the value to which the specified key is mapped.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.0.1
TValue GetForUpdate(
Object key
)
Function GetForUpdate (
key As Object
) As TValue
TValue GetForUpdate(
Object^ key
)
abstract GetForUpdate :
key : Object -> 'TValue
Parameters
- key
- Type: SystemObject
Return Value
Type:
TValue
Locks the key and then gets and returns the value to which the specified key is mapped.
Lock will be released at the end of the transaction (either commit or rollback).
Reference