| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) on Thu Sep 15 14:13:16 CDT 2022 --> |
| <title>AbstractConnectionPool (Eclipse Jetty API Doc - v11.0.12)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-09-15"> |
| <meta name="description" content="declaration: package: org.eclipse.jetty.client, class: AbstractConnectionPool"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/AbstractConnectionPool.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#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li><a href="#nested-class-summary">Nested</a> | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.eclipse.jetty.client</a></div> |
| <h1 title="Class AbstractConnectionPool" class="title">Class AbstractConnectionPool</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.AbstractLifeCycle</a> |
| <div class="inheritance"><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">org.eclipse.jetty.util.component.ContainerLifeCycle</a> |
| <div class="inheritance">org.eclipse.jetty.client.AbstractConnectionPool</div> |
| </div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/Closeable.html" title="class or interface in java.io" class="external-link">Closeable</a></code>, <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html" title="class or interface in java.lang" class="external-link">AutoCloseable</a></code>, <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code>, <code><a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></code>, <code><a href="../util/component/Destroyable.html" title="interface in org.eclipse.jetty.util.component">Destroyable</a></code>, <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code>, <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code>, <code><a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code>, <code><a href="../util/thread/Sweeper.Sweepable.html" title="interface in org.eclipse.jetty.util.thread">Sweeper.Sweepable</a></code></dd> |
| </dl> |
| <dl class="notes"> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="DuplexConnectionPool.html" title="class in org.eclipse.jetty.client">DuplexConnectionPool</a></code>, <code><a href="MultiplexConnectionPool.html" title="class in org.eclipse.jetty.client">MultiplexConnectionPool</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations"><a href="../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a> |
| </span><span class="modifiers">public abstract class </span><span class="element-name type-name-label">AbstractConnectionPool</span> |
| <span class="extends-implements">extends <a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a> |
| implements <a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a>, <a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a>, <a href="../util/thread/Sweeper.Sweepable.html" title="interface in org.eclipse.jetty.util.thread">Sweeper.Sweepable</a></span></div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.AbstractLifeCycle">Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h2> |
| <code><a href="../util/component/AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a>, <a href="../util/component/AbstractLifeCycle.StopException.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.StopException</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.client.ConnectionPool">Nested classes/interfaces inherited from interface org.eclipse.jetty.client.<a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></h2> |
| <code><a href="ConnectionPool.Factory.html" title="interface in org.eclipse.jetty.client">ConnectionPool.Factory</a>, <a href="ConnectionPool.MaxUsable.html" title="interface in org.eclipse.jetty.client">ConnectionPool.MaxUsable</a>, <a href="ConnectionPool.Multiplexable.html" title="interface in org.eclipse.jetty.client">ConnectionPool.Multiplexable</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.Container">Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h2> |
| <code><a href="../util/component/Container.InheritedListener.html" title="interface in org.eclipse.jetty.util.component">Container.InheritedListener</a>, <a href="../util/component/Container.Listener.html" title="interface in org.eclipse.jetty.util.component">Container.Listener</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h2> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.LifeCycle">Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h2> |
| <code><a href="../util/component/LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></div> |
| </section> |
| </li> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.eclipse.jetty.util.component.AbstractLifeCycle">Fields inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../util/component/AbstractLifeCycle.html#FAILED">FAILED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTED">STARTED</a>, <a href="../util/component/AbstractLifeCycle.html#STARTING">STARTING</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPED">STOPPED</a>, <a href="../util/component/AbstractLifeCycle.html#STOPPING">STOPPING</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Fields inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.html#KEY">KEY</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier</div> |
| <div class="table-header col-second">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>protected </code></div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.client.HttpDestination,int,boolean,org.eclipse.jetty.util.Callback)" class="member-name-link">AbstractConnectionPool</a><wbr>(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| int maxConnections, |
| boolean cache, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> requester)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-first odd-row-color"><code>protected </code></div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Pool.StrategyType,int,boolean,org.eclipse.jetty.util.Callback)" class="member-name-link">AbstractConnectionPool</a><wbr>(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| <a href="../util/Pool.StrategyType.html" title="enum in org.eclipse.jetty.util">Pool.StrategyType</a> strategy, |
| int maxConnections, |
| boolean cache, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> requester)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| <div class="col-first even-row-color"><code>protected </code></div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Pool,org.eclipse.jetty.util.Callback)" class="member-name-link">AbstractConnectionPool</a><wbr>(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| <a href="../util/Pool.html" title="class in org.eclipse.jetty.util">Pool</a><<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>> pool, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> requester)</code></div> |
| <div class="col-last even-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button><button id="method-summary-table-tab6" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab6', 3)" class="table-tab">Deprecated Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#accept(org.eclipse.jetty.client.api.Connection)" class="member-name-link">accept</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Accepts the given connection to be managed by this ConnectionPool.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#acquire(boolean)" class="member-name-link">acquire</a><wbr>(boolean create)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns an idle connection, if available; |
| if an idle connection is not available, and the given <code>create</code> parameter is <code>true</code> |
| or <a href="#isMaximizeConnections()"><code>isMaximizeConnections()</code></a> is <code>true</code>, |
| then attempts to open a new connection, if possible within the configuration of this |
| connection pool (for example, if it does not exceed the max connection count); |
| otherwise it attempts to open a new connection, if the number of queued requests is |
| greater than the number of pending connections; |
| if no connection is available even after the attempts to open, return <code>null</code>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#acquired(org.eclipse.jetty.client.api.Connection)" class="member-name-link">acquired</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected <a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#activate()" class="member-name-link">activate</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#close()" class="member-name-link">close</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#deactivate(org.eclipse.jetty.client.api.Connection)" class="member-name-link">deactivate</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#doStop()" class="member-name-link">doStop</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#dump(java.lang.Appendable,java.lang.String)" class="member-name-link">dump</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a> out, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> indent)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getActiveConnectionCount()" class="member-name-link">getActiveConnectionCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getConnectionCount()" class="member-name-link">getConnectionCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getIdleConnectionCount()" class="member-name-link">getIdleConnectionCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxConnectionCount()" class="member-name-link">getMaxConnectionCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>long</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxDuration()" class="member-name-link">getMaxDuration</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Get the max usage duration in milliseconds of the pool's connections.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxMultiplex()" class="member-name-link">getMaxMultiplex</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected int</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getMaxUsageCount()" class="member-name-link">getMaxUsageCount</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getPendingConnectionCount()" class="member-name-link">getPendingConnectionCount</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#idle(org.eclipse.jetty.client.api.Connection,boolean)" class="member-name-link">idle</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection, |
| boolean close)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isActive(org.eclipse.jetty.client.api.Connection)" class="member-name-link">isActive</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isClosed()" class="member-name-link">isClosed</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isEmpty()" class="member-name-link">isEmpty</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#isMaximizeConnections()" class="member-name-link">isMaximizeConnections</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onCreated(org.eclipse.jetty.client.api.Connection)" class="member-name-link">onCreated</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Void.html" title="class or interface in java.lang" class="external-link">Void</a>></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#preCreateConnections(int)" class="member-name-link">preCreateConnections</a><wbr>(int connectionCount)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Optionally pre-create up to <code>connectionCount</code> |
| connections so they are immediately ready for use.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#proceed()" class="member-name-link">proceed</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#release(org.eclipse.jetty.client.api.Connection)" class="member-name-link">release</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Returns the given connection, previously obtained via <a href="ConnectionPool.html#acquire(boolean)"><code>ConnectionPool.acquire(boolean)</code></a>, |
| back to this ConnectionPool.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#released(org.eclipse.jetty.client.api.Connection)" class="member-name-link">released</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#remove(org.eclipse.jetty.client.api.Connection)" class="member-name-link">remove</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Removes the given connection from this ConnectionPool.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code>protected boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><a href="#remove(org.eclipse.jetty.client.api.Connection,boolean)" class="member-name-link">remove</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection, |
| boolean force)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"> |
| <div class="block"><span class="deprecated-label">Deprecated.</span></div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#removed(org.eclipse.jetty.client.api.Connection)" class="member-name-link">removed</a><wbr>(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxDuration(long)" class="member-name-link">setMaxDuration</a><wbr>(long maxDurationInMs)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaximizeConnections(boolean)" class="member-name-link">setMaximizeConnections</a><wbr>(boolean maximizeConnections)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Sets whether the number of connections should be maximized.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxMultiplex(int)" class="member-name-link">setMaxMultiplex</a><wbr>(int maxMultiplex)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setMaxUsageCount(int)" class="member-name-link">setMaxUsageCount</a><wbr>(int maxUsageCount)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#sweep()" class="member-name-link">sweep</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#tryCreate(boolean)" class="member-name-link">tryCreate</a><wbr>(boolean create)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> |
| <div class="block">Tries to create a new connection.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.ContainerLifeCycle">Methods inherited from class org.eclipse.jetty.util.component.<a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></h3> |
| <code><a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addBean(java.lang.Object,boolean)">addBean</a>, <a href="../util/component/ContainerLifeCycle.html#addEventListener(java.util.EventListener)">addEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#addManaged(org.eclipse.jetty.util.component.LifeCycle)">addManaged</a>, <a href="../util/component/ContainerLifeCycle.html#contains(java.lang.Object)">contains</a>, <a href="../util/component/ContainerLifeCycle.html#destroy()">destroy</a>, <a href="../util/component/ContainerLifeCycle.html#doStart()">doStart</a>, <a href="../util/component/ContainerLifeCycle.html#dump()">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable)">dump</a>, <a href="../util/component/ContainerLifeCycle.html#dumpObjects(java.lang.Appendable,java.lang.String,java.lang.Object...)">dumpObjects</a>, <a href="../util/component/ContainerLifeCycle.html#dumpStdErr()">dumpStdErr</a>, <a href="../util/component/ContainerLifeCycle.html#getBean(java.lang.Class)">getBean</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans()">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getBeans(java.lang.Class)">getBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#getContainedBeans(java.lang.Class,java.util.Collection)">getContainedBeans</a>, <a href="../util/component/ContainerLifeCycle.html#isAuto(java.lang.Object)">isAuto</a>, <a href="../util/component/ContainerLifeCycle.html#isManaged(java.lang.Object)">isManaged</a>, <a href="../util/component/ContainerLifeCycle.html#isUnmanaged(java.lang.Object)">isUnmanaged</a>, <a href="../util/component/ContainerLifeCycle.html#manage(java.lang.Object)">manage</a>, <a href="../util/component/ContainerLifeCycle.html#removeBean(java.lang.Object)">removeBean</a>, <a href="../util/component/ContainerLifeCycle.html#removeBeans()">removeBeans</a>, <a href="../util/component/ContainerLifeCycle.html#removeEventListener(java.util.EventListener)">removeEventListener</a>, <a href="../util/component/ContainerLifeCycle.html#setBeans(java.util.Collection)">setBeans</a>, <a href="../util/component/ContainerLifeCycle.html#start(org.eclipse.jetty.util.component.LifeCycle)">start</a>, <a href="../util/component/ContainerLifeCycle.html#stop(org.eclipse.jetty.util.component.LifeCycle)">stop</a>, <a href="../util/component/ContainerLifeCycle.html#unmanage(java.lang.Object)">unmanage</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBean(java.lang.Object,java.lang.Object,boolean)">updateBean</a>, <a href="../util/component/ContainerLifeCycle.html#updateBeans(java.lang.Object%5B%5D,java.lang.Object%5B%5D)">updateBeans</a>, <a href="../util/component/ContainerLifeCycle.html#updateBeans(java.util.Collection,java.util.Collection)">updateBeans</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.AbstractLifeCycle">Methods inherited from class org.eclipse.jetty.util.component.<a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></h3> |
| <code><a href="../util/component/AbstractLifeCycle.html#getEventListeners()">getEventListeners</a>, <a href="../util/component/AbstractLifeCycle.html#getState()">getState</a>, <a href="../util/component/AbstractLifeCycle.html#getState(org.eclipse.jetty.util.component.LifeCycle)">getState</a>, <a href="../util/component/AbstractLifeCycle.html#isFailed()">isFailed</a>, <a href="../util/component/AbstractLifeCycle.html#isRunning()">isRunning</a>, <a href="../util/component/AbstractLifeCycle.html#isStarted()">isStarted</a>, <a href="../util/component/AbstractLifeCycle.html#isStarting()">isStarting</a>, <a href="../util/component/AbstractLifeCycle.html#isStopped()">isStopped</a>, <a href="../util/component/AbstractLifeCycle.html#isStopping()">isStopping</a>, <a href="../util/component/AbstractLifeCycle.html#setEventListeners(java.util.Collection)">setEventListeners</a>, <a href="../util/component/AbstractLifeCycle.html#start()">start</a>, <a href="../util/component/AbstractLifeCycle.html#stop()">stop</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.Container">Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Container.html" title="interface in org.eclipse.jetty.util.component">Container</a></h3> |
| <code><a href="../util/component/Container.html#getCachedBeans(java.lang.Class)">getCachedBeans</a>, <a href="../util/component/Container.html#getEventListeners()">getEventListeners</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.html#dump()">dump</a>, <a href="../util/component/Dumpable.html#dumpSelf()">dumpSelf</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.Dumpable.DumpableContainer">Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></h3> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html#isDumpable(java.lang.Object)">isDumpable</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(org.eclipse.jetty.client.HttpDestination,int,boolean,org.eclipse.jetty.util.Callback)"> |
| <h3>AbstractConnectionPool</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="element-name">AbstractConnectionPool</span><wbr><span class="parameters">(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| int maxConnections, |
| boolean cache, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> requester)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Pool.StrategyType,int,boolean,org.eclipse.jetty.util.Callback)"> |
| <h3>AbstractConnectionPool</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="element-name">AbstractConnectionPool</span><wbr><span class="parameters">(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| <a href="../util/Pool.StrategyType.html" title="enum in org.eclipse.jetty.util">Pool.StrategyType</a> strategy, |
| int maxConnections, |
| boolean cache, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> requester)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(org.eclipse.jetty.client.HttpDestination,org.eclipse.jetty.util.Pool,org.eclipse.jetty.util.Callback)"> |
| <h3>AbstractConnectionPool</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="element-name">AbstractConnectionPool</span><wbr><span class="parameters">(<a href="HttpDestination.html" title="class in org.eclipse.jetty.client">HttpDestination</a> destination, |
| <a href="../util/Pool.html" title="class in org.eclipse.jetty.util">Pool</a><<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a>> pool, |
| <a href="../util/Callback.html" title="interface in org.eclipse.jetty.util">Callback</a> requester)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="doStop()"> |
| <h3>doStop</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">doStop</span>() |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from class: <code><a href="../util/component/ContainerLifeCycle.html#doStop()">ContainerLifeCycle</a></code></span></div> |
| <div class="block">Stops the managed lifecycle beans in the reverse order they were added.</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#doStop()">doStop</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Exception.html" title="class or interface in java.lang" class="external-link">Exception</a></code> - If there was a problem stopping. Will cause a transition to FAILED state</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="preCreateConnections(int)"> |
| <h3>preCreateConnections</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/CompletableFuture.html" title="class or interface in java.util.concurrent" class="external-link">CompletableFuture</a><<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Void.html" title="class or interface in java.lang" class="external-link">Void</a>></span> <span class="element-name">preCreateConnections</span><wbr><span class="parameters">(int connectionCount)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="ConnectionPool.html#preCreateConnections(int)">ConnectionPool</a></code></span></div> |
| <div class="block">Optionally pre-create up to <code>connectionCount</code> |
| connections so they are immediately ready for use.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#preCreateConnections(int)">preCreateConnections</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>connectionCount</code> - the number of connections to pre-start.</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMaxDuration()"> |
| <h3>getMaxDuration</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The maximum duration in milliseconds a connection can be used for before it gets closed") |
| </span><span class="modifiers">public</span> <span class="return-type">long</span> <span class="element-name">getMaxDuration</span>()</div> |
| <div class="block"><p>Get the max usage duration in milliseconds of the pool's connections. |
| Values <code>0</code> and negative mean that there is no limit.</p> |
| <p>This only guarantees that a connection cannot be acquired after the configured |
| duration elapses, so that is only enforced when <a href="#acquire(boolean)"><code>acquire(boolean)</code></a> is called. |
| If a pool stays completely idle for a duration longer than the value |
| returned by this method, the max duration will not be enforced. |
| It's up to the idle timeout mechanism (see <a href="HttpClient.html#getIdleTimeout()"><code>HttpClient.getIdleTimeout()</code></a>) |
| to handle closing idle connections.</p></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxDuration(long)"> |
| <h3>setMaxDuration</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setMaxDuration</span><wbr><span class="parameters">(long maxDurationInMs)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMaxMultiplex()"> |
| <h3>getMaxMultiplex</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">int</span> <span class="element-name">getMaxMultiplex</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxMultiplex(int)"> |
| <h3>setMaxMultiplex</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">setMaxMultiplex</span><wbr><span class="parameters">(int maxMultiplex)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMaxUsageCount()"> |
| <h3>getMaxUsageCount</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">int</span> <span class="element-name">getMaxUsageCount</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaxUsageCount(int)"> |
| <h3>setMaxUsageCount</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">setMaxUsageCount</span><wbr><span class="parameters">(int maxUsageCount)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getActiveConnectionCount()"> |
| <h3>getActiveConnectionCount</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The number of active connections", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getActiveConnectionCount</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getIdleConnectionCount()"> |
| <h3>getIdleConnectionCount</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The number of idle connections", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getIdleConnectionCount</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getMaxConnectionCount()"> |
| <h3>getMaxConnectionCount</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The max number of connections", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getMaxConnectionCount</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getConnectionCount()"> |
| <h3>getConnectionCount</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The number of connections", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getConnectionCount</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="getPendingConnectionCount()"> |
| <h3>getPendingConnectionCount</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../util/annotation/ManagedAttribute.html#value()">value</a>="The number of pending connections", |
| <a href="../util/annotation/ManagedAttribute.html#readonly()">readonly</a>=true) |
| </span><span class="modifiers">public</span> <span class="return-type">int</span> <span class="element-name">getPendingConnectionCount</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isEmpty()"> |
| <h3>isEmpty</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isEmpty</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#isEmpty()">isEmpty</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>whether this ConnectionPool has no open connections</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isClosed()"> |
| <h3>isClosed</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether this pool is closed") |
| </span><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isClosed</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#isClosed()">isClosed</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>whether this ConnectionPool has been closed</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="ConnectionPool.html#close()"><code>ConnectionPool.close()</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isMaximizeConnections()"> |
| <h3>isMaximizeConnections</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("Whether the pool tries to maximize the number of connections used") |
| </span><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isMaximizeConnections</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setMaximizeConnections(boolean)"> |
| <h3>setMaximizeConnections</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setMaximizeConnections</span><wbr><span class="parameters">(boolean maximizeConnections)</span></div> |
| <div class="block"><p>Sets whether the number of connections should be maximized.</p></div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>maximizeConnections</code> - whether the number of connections should be maximized</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="acquire(boolean)"> |
| <h3>acquire</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a></span> <span class="element-name">acquire</span><wbr><span class="parameters">(boolean create)</span></div> |
| <div class="block"><p>Returns an idle connection, if available; |
| if an idle connection is not available, and the given <code>create</code> parameter is <code>true</code> |
| or <a href="#isMaximizeConnections()"><code>isMaximizeConnections()</code></a> is <code>true</code>, |
| then attempts to open a new connection, if possible within the configuration of this |
| connection pool (for example, if it does not exceed the max connection count); |
| otherwise it attempts to open a new connection, if the number of queued requests is |
| greater than the number of pending connections; |
| if no connection is available even after the attempts to open, return <code>null</code>.</p> |
| <p>The <code>create</code> parameter is just a hint: the connection may be created even if |
| <code>false</code>, or may not be created even if <code>true</code>.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#acquire(boolean)">acquire</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>create</code> - a hint to attempt to open a new connection if no idle connections are available</dd> |
| <dt>Returns:</dt> |
| <dd>an idle connection or <code>null</code> if no idle connections are available</dd> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list"> |
| <li><a href="#tryCreate(boolean)"><code>tryCreate(boolean)</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="tryCreate(boolean)"> |
| <h3>tryCreate</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">tryCreate</span><wbr><span class="parameters">(boolean create)</span></div> |
| <div class="block"><p>Tries to create a new connection.</p> |
| <p>Whether a new connection is created is determined by the <code>create</code> parameter |
| and a count of demand and supply, where the demand is derived from the number of |
| queued requests, and the supply is the number of pending connections time the |
| <a href="#getMaxMultiplex()"><code>getMaxMultiplex()</code></a> factor: if the demand is less than the supply, the |
| connection will not be created.</p> |
| <p>Since the number of queued requests used to derive the demand may be a stale |
| value, it is possible that few more connections than strictly necessary may be |
| created, but enough to satisfy the demand.</p></div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>create</code> - a hint to request to create a connection</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="accept(org.eclipse.jetty.client.api.Connection)"> |
| <h3>accept</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">accept</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="ConnectionPool.html#accept(org.eclipse.jetty.client.api.Connection)">ConnectionPool</a></code></span></div> |
| <div class="block"><p>Accepts the given connection to be managed by this ConnectionPool.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#accept(org.eclipse.jetty.client.api.Connection)">accept</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - the connection to accept</dd> |
| <dt>Returns:</dt> |
| <dd>whether the connection has been accepted</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="proceed()"> |
| <h3>proceed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">proceed</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="activate()"> |
| <h3>activate</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type"><a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a></span> <span class="element-name">activate</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="isActive(org.eclipse.jetty.client.api.Connection)"> |
| <h3>isActive</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">isActive</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#isActive(org.eclipse.jetty.client.api.Connection)">isActive</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - the connection to test</dd> |
| <dt>Returns:</dt> |
| <dd>whether the given connection is currently in use</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="release(org.eclipse.jetty.client.api.Connection)"> |
| <h3>release</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">release</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="ConnectionPool.html#release(org.eclipse.jetty.client.api.Connection)">ConnectionPool</a></code></span></div> |
| <div class="block"><p>Returns the given connection, previously obtained via <a href="ConnectionPool.html#acquire(boolean)"><code>ConnectionPool.acquire(boolean)</code></a>, |
| back to this ConnectionPool.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#release(org.eclipse.jetty.client.api.Connection)">release</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - the connection to release</dd> |
| <dt>Returns:</dt> |
| <dd>true if the connection has been released, false if the connection |
| should be closed</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="deactivate(org.eclipse.jetty.client.api.Connection)"> |
| <h3>deactivate</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">deactivate</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="remove(org.eclipse.jetty.client.api.Connection)"> |
| <h3>remove</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">remove</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="ConnectionPool.html#remove(org.eclipse.jetty.client.api.Connection)">ConnectionPool</a></code></span></div> |
| <div class="block"><p>Removes the given connection from this ConnectionPool.</p></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#remove(org.eclipse.jetty.client.api.Connection)">remove</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>connection</code> - the connection to remove</dd> |
| <dt>Returns:</dt> |
| <dd>true if the connection was removed from this ConnectionPool</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="remove(org.eclipse.jetty.client.api.Connection,boolean)"> |
| <h3>remove</h3> |
| <div class="member-signature"><span class="annotations"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Deprecated.html" title="class or interface in java.lang" class="external-link">@Deprecated</a> |
| </span><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">remove</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection, |
| boolean force)</span></div> |
| <div class="deprecation-block"><span class="deprecated-label">Deprecated.</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onCreated(org.eclipse.jetty.client.api.Connection)"> |
| <h3>onCreated</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">onCreated</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="idle(org.eclipse.jetty.client.api.Connection,boolean)"> |
| <h3>idle</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">boolean</span> <span class="element-name">idle</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection, |
| boolean close)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="acquired(org.eclipse.jetty.client.api.Connection)"> |
| <h3>acquired</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">acquired</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="released(org.eclipse.jetty.client.api.Connection)"> |
| <h3>released</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">released</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="removed(org.eclipse.jetty.client.api.Connection)"> |
| <h3>removed</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">removed</span><wbr><span class="parameters">(<a href="api/Connection.html" title="interface in org.eclipse.jetty.client.api">Connection</a> connection)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="close()"> |
| <h3>close</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">close</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html#close()" title="class or interface in java.lang" class="external-link">close</a></code> in interface <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/AutoCloseable.html" title="class or interface in java.lang" class="external-link">AutoCloseable</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/Closeable.html#close()" title="class or interface in java.io" class="external-link">close</a></code> in interface <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/Closeable.html" title="class or interface in java.io" class="external-link">Closeable</a></code></dd> |
| <dt>Specified by:</dt> |
| <dd><code><a href="ConnectionPool.html#close()">close</a></code> in interface <code><a href="ConnectionPool.html" title="interface in org.eclipse.jetty.client">ConnectionPool</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="dump(java.lang.Appendable,java.lang.String)"> |
| <h3>dump</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">dump</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Appendable.html" title="class or interface in java.lang" class="external-link">Appendable</a> out, |
| <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> indent)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></span></div> |
| <div class="block"><span class="descfrm-type-label">Description copied from interface: <code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">Dumpable</a></code></span></div> |
| <div class="block">Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| The indent should not be applied to the first object dumped.</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../util/component/Dumpable.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in interface <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="../util/component/ContainerLifeCycle.html#dump(java.lang.Appendable,java.lang.String)">dump</a></code> in class <code><a href="../util/component/ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code></dd> |
| <dt>Parameters:</dt> |
| <dd><code>out</code> - The appendable to dump to</dd> |
| <dd><code>indent</code> - The indent to apply after any new lines.</dd> |
| <dt>Throws:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html" title="class or interface in java.io" class="external-link">IOException</a></code> - if unable to write to Appendable</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="sweep()"> |
| <h3>sweep</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">boolean</span> <span class="element-name">sweep</span>()</div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="../util/thread/Sweeper.Sweepable.html#sweep()">sweep</a></code> in interface <code><a href="../util/thread/Sweeper.Sweepable.html" title="interface in org.eclipse.jetty.util.thread">Sweeper.Sweepable</a></code></dd> |
| <dt>Returns:</dt> |
| <dd>whether this resource should be swept</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="toString()"> |
| <h3>toString</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">toString</span>()</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="../util/component/AbstractLifeCycle.html#toString()">toString</a></code> in class <code><a href="../util/component/AbstractLifeCycle.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 1995–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |