| ISemaphoreDrainPermits Method |
Acquires and returns all permits that are immediately available.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.3
Syntax Function DrainPermits As Integer
abstract DrainPermits : unit -> int
Return Value
Type:
Int32the number of permits drained
Remarks Acquires and returns all permits that are immediately available.
See Also