Package org.eclipse.jetty.util.thread
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:
getThreads
in interfaceThreadPoolBudget.Lease
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-