If the current count is zero then this method returns immediately with the value {@code true}.
If the current count is greater than zero then the current thread becomes disabled for thread scheduling purposes and lies dormant until one of five things happen:
If the count reaches zero then the method returns with the value {@code true}.
If the current thread:
If the specified waiting time elapses then the value {@code false}is returned. If the time is less than or equal to zero, the method will not wait at all. @param timeout the maximum time to wait @param unit the time unit of the {@code timeout} argument @return {@code true} if the count reached zero and {@code false}if the waiting time elapsed before the count reached zero @throws InterruptedException if the current thread is interrupted @throws IllegalStateException if hazelcast instance is shutdown while waiting
|
|
|
|
|
|
|
|