![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IMapTKey, TValueForceUnlock Method |
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.4
Syntaxvoid ForceUnlock(
TKey key
)
Sub ForceUnlock (
key As TKey
)
void ForceUnlock(
TKey key
)
abstract ForceUnlock :
key : 'TKey -> unit
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