private static class MemoryAwareThreadPoolExecutor.Limiter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private long |
counter |
(package private) long |
limit |
private int |
waiters |
| Constructor and Description |
|---|
Limiter(long limit) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
decrease(long amount) |
(package private) void |
increase(long amount) |