| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.6) on Fri Apr 10 16:48:14 EDT 2020 --> |
| <title>org.eclipse.jetty.util.thread (Jetty :: Project 9.4.28.v20200408 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-04-10"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="org.eclipse.jetty.util.thread (Jetty :: Project 9.4.28.v20200408 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = false; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.eclipse.jetty.util.thread</h1> |
| </div> |
| <div class="contentContainer"> |
| <section role="region"><a id="package.description"> |
| <!-- --> |
| </a> |
| <div class="block">Jetty Util : Common ThreadPool Utilities</div> |
| </section> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ExecutionStrategy.html" title="interface in org.eclipse.jetty.util.thread">ExecutionStrategy</a></th> |
| <td class="colLast"> |
| <div class="block">An <a href="ExecutionStrategy.html" title="interface in org.eclipse.jetty.util.thread"><code>ExecutionStrategy</code></a> executes <code>Runnable</code> tasks produced by a <a href="ExecutionStrategy.Producer.html" title="interface in org.eclipse.jetty.util.thread"><code>ExecutionStrategy.Producer</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ExecutionStrategy.Producer.html" title="interface in org.eclipse.jetty.util.thread">ExecutionStrategy.Producer</a></th> |
| <td class="colLast"> |
| <div class="block">A producer of <code>Runnable</code> tasks to run.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Invocable.html" title="interface in org.eclipse.jetty.util.thread">Invocable</a></th> |
| <td class="colLast"> |
| <div class="block">A task (typically either a <code>Runnable</code> or <code>Callable</code> |
| that declares how it will behave when invoked:</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Scheduler.html" title="interface in org.eclipse.jetty.util.thread">Scheduler</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Scheduler.Task.html" title="interface in org.eclipse.jetty.util.thread">Scheduler.Task</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="SerializedExecutor.ErrorHandlingTask.html" title="interface in org.eclipse.jetty.util.thread">SerializedExecutor.ErrorHandlingTask</a></th> |
| <td class="colLast"> |
| <div class="block">Error handling task</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Sweeper.Sweepable.html" title="interface in org.eclipse.jetty.util.thread">Sweeper.Sweepable</a></th> |
| <td class="colLast"> |
| <div class="block">A <a href="Sweeper.Sweepable.html" title="interface in org.eclipse.jetty.util.thread"><code>Sweeper.Sweepable</code></a> resource implements this interface to |
| signal to a <a href="Sweeper.html" title="class in org.eclipse.jetty.util.thread"><code>Sweeper</code></a> or to a parent container if it |
| needs to be swept or not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ThreadPool.html" title="interface in org.eclipse.jetty.util.thread">ThreadPool</a></th> |
| <td class="colLast"> |
| <div class="block">A pool for threads.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ThreadPool.SizedThreadPool.html" title="interface in org.eclipse.jetty.util.thread">ThreadPool.SizedThreadPool</a></th> |
| <td class="colLast"> |
| <div class="block">Specialized sub-interface of ThreadPool that allows to get/set |
| the minimum and maximum number of threads of the pool.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ThreadPoolBudget.Lease.html" title="interface in org.eclipse.jetty.util.thread">ThreadPoolBudget.Lease</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="TryExecutor.html" title="interface in org.eclipse.jetty.util.thread">TryExecutor</a></th> |
| <td class="colLast"> |
| <div class="block">A variation of Executor that can confirm if a thread is available immediately</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ExecutorSizedThreadPool.html" title="class in org.eclipse.jetty.util.thread">ExecutorSizedThreadPool</a></th> |
| <td class="colLast">Deprecated. |
| <div class="deprecationComment">Use <a href="ExecutorThreadPool.html" title="class in org.eclipse.jetty.util.thread"><code>ExecutorThreadPool</code></a></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ExecutorThreadPool.html" title="class in org.eclipse.jetty.util.thread">ExecutorThreadPool</a></th> |
| <td class="colLast"> |
| <div class="block">A <a href="ThreadPool.SizedThreadPool.html" title="interface in org.eclipse.jetty.util.thread"><code>ThreadPool.SizedThreadPool</code></a> wrapper around <code>ThreadPoolExecutor</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Locker.html" title="class in org.eclipse.jetty.util.thread">Locker</a></th> |
| <td class="colLast"> |
| <div class="block">Convenience auto closeable <code>ReentrantLock</code> wrapper.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="MonitoredQueuedThreadPool.html" title="class in org.eclipse.jetty.util.thread">MonitoredQueuedThreadPool</a></th> |
| <td class="colLast"> |
| <div class="block">A <a href="QueuedThreadPool.html" title="class in org.eclipse.jetty.util.thread"><code>QueuedThreadPool</code></a> subclass that monitors its own activity by recording queue and task statistics.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="QueuedThreadPool.html" title="class in org.eclipse.jetty.util.thread">QueuedThreadPool</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ReservedThreadExecutor.html" title="class in org.eclipse.jetty.util.thread">ReservedThreadExecutor</a></th> |
| <td class="colLast"> |
| <div class="block">An Executor using preallocated/reserved Threads from a wrapped Executor.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ScheduledExecutorScheduler.html" title="class in org.eclipse.jetty.util.thread">ScheduledExecutorScheduler</a></th> |
| <td class="colLast"> |
| <div class="block">Implementation of <a href="Scheduler.html" title="interface in org.eclipse.jetty.util.thread"><code>Scheduler</code></a> based on JDK's <code>ScheduledThreadPoolExecutor</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="SerializedExecutor.html" title="class in org.eclipse.jetty.util.thread">SerializedExecutor</a></th> |
| <td class="colLast"> |
| <div class="block">An executor than ensurers serial execution of submitted tasks.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ShutdownThread.html" title="class in org.eclipse.jetty.util.thread">ShutdownThread</a></th> |
| <td class="colLast"> |
| <div class="block">ShutdownThread is a shutdown hook thread implemented as |
| singleton that maintains a list of lifecycle instances |
| that are registered with it and provides ability to stop |
| these lifecycles upon shutdown of the Java Virtual Machine</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="Sweeper.html" title="class in org.eclipse.jetty.util.thread">Sweeper</a></th> |
| <td class="colLast"> |
| <div class="block">A utility class to perform periodic sweeping of resources.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="ThreadClassLoaderScope.html" title="class in org.eclipse.jetty.util.thread">ThreadClassLoaderScope</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="ThreadPoolBudget.html" title="class in org.eclipse.jetty.util.thread">ThreadPoolBudget</a></th> |
| <td class="colLast"> |
| <div class="block">A budget of required thread usage, used to warn or error for insufficient configured threads.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="TimerScheduler.html" title="class in org.eclipse.jetty.util.thread">TimerScheduler</a></th> |
| <td class="colLast"> |
| <div class="block">A scheduler based on the the JVM Timer class</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colFirst" scope="row"><a href="TryExecutor.NoTryExecutor.html" title="class in org.eclipse.jetty.util.thread">TryExecutor.NoTryExecutor</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary"> |
| <caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Enum</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colFirst" scope="row"><a href="Invocable.InvocationType.html" title="enum in org.eclipse.jetty.util.thread">Invocable.InvocationType</a></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 1995–2020 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |