Click or drag to resize

ISemaphoreDrainPermits Method

Acquires and returns all permits that are immediately available.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.2
Syntax
int DrainPermits()

Return Value

Type: Int32
the number of permits drained
Remarks
Acquires and returns all permits that are immediately available.
See Also