| ITransactionalMapTKey, TValueGetForUpdate Method |
Locks the key and then gets and returns the value to which the specified key is mapped.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
Syntax 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:
TValueRemarks
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).
See Also