.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    ReducePermitsAsync Method

    ReducePermitsAsync(int)

    Reduces the number of available permits.

    Declaration
    Task ReducePermitsAsync(int delta)
    Parameters
    int delta

    The number of permits to reduce.

    Returns
    Task
    Remarks

    This method differs from AcquireAsync(int) as it does not block until permits become available. Similarly, if the caller has acquired some permits, they are not released with this call. In other words, this method arbitrarily decreases the available permits count (can even make it negative) without affecting the already acquired permits.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.