Package io.avaje.jex.jetty.threadpool
Class VirtualThreadPool
java.lang.Object
io.avaje.jex.jetty.threadpool.VirtualThreadPool
- All Implemented Interfaces:
Executor,org.eclipse.jetty.util.thread.ThreadPool
Loom Virtual threads based Jetty ThreadPool.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.ThreadPool
org.eclipse.jetty.util.thread.ThreadPool.SizedThreadPool -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VirtualThreadPool
public VirtualThreadPool()
-
-
Method Details
-
execute
-
join
public void join()- Specified by:
joinin interfaceorg.eclipse.jetty.util.thread.ThreadPool
-
getThreads
public int getThreads()- Specified by:
getThreadsin interfaceorg.eclipse.jetty.util.thread.ThreadPool
-
getIdleThreads
public int getIdleThreads()- Specified by:
getIdleThreadsin interfaceorg.eclipse.jetty.util.thread.ThreadPool
-
isLowOnThreads
public boolean isLowOnThreads()- Specified by:
isLowOnThreadsin interfaceorg.eclipse.jetty.util.thread.ThreadPool
-