IMultiMapK, VTryLock Method (K)Hazelcast .Net Client Class Library
Tries to acquire the lock for the specified key.

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

bool TryLock(
	K key
)

Parameters

key
Type: K
key to lock.

Return Value

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

Reference