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

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
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