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