ISemaphoreTryAcquire Method Hazelcast .Net Client Class Library
Overload List

  NameDescription
Public methodTryAcquire
Acquires a permit, if one is available and returns immediately, with the value true, reducing the number of available permits by one.
Public methodTryAcquire(Int32)
Acquires the given number of permits, if they are available, and returns immediately, with the value true, reducing the number of available permits by the given amount.
Public methodTryAcquire(Int64, TimeUnit)
Acquires a permit from this semaphore, if one becomes available within the given waiting time and the current thread has not been interrupted.
Public methodTryAcquire(Int32, Int64, TimeUnit)
Top
See Also

Reference