public interface Balancer
If a permit is available,
acquirePermit() simply returns and a new test is scheduled
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–2013 The Apache Software Foundation. All rights reserved.