Click or drag to resize

ISemaphoreReducePermits Method

Shrinks the number of available permits by the indicated reduction.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
void ReducePermits(
	int reduction
)

Parameters

reduction
Type: SystemInt32
the number of permits to remove
Exceptions
ExceptionCondition
ArgumentException if reduction is negative
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