Class ThreadPoolBudget.Leased
java.lang.Object
org.eclipse.jetty.util.thread.ThreadPoolBudget.Leased
- All Implemented Interfaces:
Closeable, AutoCloseable, ThreadPoolBudget.Lease
- Enclosing class:
ThreadPoolBudget
An allocation of threads
-
Method Summary
-
Method Details
-
getThreads
public int getThreads()- Specified by:
getThreadsin interfaceThreadPoolBudget.Lease
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-