![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ISemaphoreReducePermits Method |
Shrinks the number of available permits by the indicated
reduction.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxvoid ReducePermits(
int reduction
)
Sub ReducePermits (
reduction As Integer
)
void ReducePermits(
int reduction
)
abstract ReducePermits :
reduction : int -> unit
Parameters
- reduction
- Type: SystemInt32
the number of permits to remove
Exceptions
Remarks
Shrinks the number of available permits by the indicated
reduction. This method differs from
acquire
in that it does not
block waiting for permits to become available.
See Also