![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IHazelcastInstanceGetSemaphore Method |
Creates cluster-wide semaphore.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
SyntaxISemaphore GetSemaphore(
string name
)
Function GetSemaphore (
name As String
) As ISemaphore
ISemaphore^ GetSemaphore(
String^ name
)
abstract GetSemaphore :
name : string -> ISemaphore
Parameters
- name
- Type: SystemString
name of the ISemaphore proxy
Return Value
Type:
ISemaphoreISemaphore proxy for the given name
Remarks
Creates cluster-wide semaphore. Hazelcast ISemaphore is distributed
implementation of
Semaphore.
See Also