Class LimitLatch

java.lang.Object
org.apache.tomcat.util.threads.LimitLatch

public class LimitLatch extends Object
Shared latch that allows the latch to be acquired a limited number of times after which all subsequent requests to acquire the latch will be placed in a FIFO queue until one of the shares is returned.