ISemaphoreDrainPermits Method Hazelcast .Net Client Class Library
Acquires and returns all permits that are immediately available.

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

int DrainPermits()

Return Value

Type: Int32
the number of permits drained
Remarks

Acquires and returns all permits that are immediately available.
See Also

Reference