IMapTKey, TValueForceUnlock Method Hazelcast .Net Client Class Library
Releases the lock for the specified key regardless of the lock owner.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9
Syntax

void ForceUnlock(
	TKey key
)

Parameters

key
Type: TKey
key to lock.
Remarks

Releases the lock for the specified key regardless of the lock owner. It always successfully unlocks the key, never blocks and returns immediately.

Warning:

This method uses GetHashCode and Equals of binary form of the key, not the actual implementations of GetHashCode and Equals defined in key's class.
See Also

Reference