public class ThreadPoolBudget.Leased extends java.lang.Object implements ThreadPoolBudget.Lease
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.Object |
leasee |
(package private) int |
threads |
| Modifier | Constructor and Description |
|---|---|
private |
Leased(java.lang.Object leasee,
int threads) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getThreads() |
public int getThreads()
getThreads in interface ThreadPoolBudget.Leasepublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseable