Package org.eclipse.jetty.client
Class DuplexConnectionPool
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.client.AbstractConnectionPool
org.eclipse.jetty.client.DuplexConnectionPool
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ConnectionPool
,Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,LifeCycle
,Sweeper.Sweepable
- Direct Known Subclasses:
LeakTrackingConnectionPool
,ValidatingConnectionPool
@ManagedObject
@Deprecated(since="2021-05-27")
public class DuplexConnectionPool
extends AbstractConnectionPool
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.ConnectionPool
ConnectionPool.Factory, ConnectionPool.Multiplexable
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.Listener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDuplexConnectionPool
(HttpDestination destination, int maxConnections, boolean cache, Callback requester) Deprecated.DuplexConnectionPool
(HttpDestination destination, int maxConnections, Callback requester) Deprecated.DuplexConnectionPool
(HttpDestination destination, Pool<Connection> pool, Callback requester) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.void
setMaxUsageCount
(int maxUsageCount) Deprecated.Methods inherited from class org.eclipse.jetty.client.AbstractConnectionPool
acquire, close, dump, getActiveConnectionCount, getActiveConnections, getConnectionCount, getIdleConnectionCount, getIdleConnections, getMaxConnectionCount, getMaxDuration, getPendingConnectionCount, getPendingCount, isActive, isClosed, isEmpty, isMaximizeConnections, preCreateConnections, release, remove, setMaxDuration, setMaximizeConnections, sweep, toString
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, unmanage, updateBean, updateBean, updateBeans
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
DuplexConnectionPool
Deprecated. -
DuplexConnectionPool
public DuplexConnectionPool(HttpDestination destination, int maxConnections, boolean cache, Callback requester) Deprecated. -
DuplexConnectionPool
@Deprecated public DuplexConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester) Deprecated.
-
-
Method Details
-
getMaxUsageCount
@ManagedAttribute("The maximum amount of times a connection is used before it gets closed") public int getMaxUsageCount()Deprecated. -
setMaxUsageCount
public void setMaxUsageCount(int maxUsageCount) Deprecated.
-