This method is typically used for debugging and testing purposes. @return the number of permits available in this semaphore
Note that size estimates in a distributed environment are necessarily a moving target. This method is typically useful only for debugging and testing purposes, and should not be used for programmatic control flow. @return the number of permits available in this semaphore at the time of invocation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|