Class MemoryAwareThreadPoolExecutor.Limiter
java.lang.Object
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor.Limiter
- Enclosing class:
- MemoryAwareThreadPoolExecutor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
limit
final long limit -
counter
private long counter -
waiters
private int waiters
-
-
Constructor Details
-
Limiter
Limiter(long limit)
-
-
Method Details
-
increase
void increase(long amount) -
decrease
void decrease(long amount)
-