Click or drag to resize

IMultiMapTKey, TValueTryLock Method (TKey)

Tries to acquire the lock for the specified key.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.2
Syntax
bool TryLock(
	TKey key
)

Parameters

key
Type: TKey
key to lock.

Return Value

Type: Boolean
true if lock is acquired, false otherwise.
See Also