public interface Balancer
acquirePermit()simply returns and a new test is scheduled by
Scheduler.schedule(Runnable)in the current runner. Otherwise waiting for a release. One permit is released as soon as the child thread has finished.
trueif current thread is NOT interrupted while waiting for a permit.
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.