Package org.eclipse.jetty.client
Class MultiplexConnectionPool
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.client.AbstractConnectionPool
-
- org.eclipse.jetty.client.MultiplexConnectionPool
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ConnectionPool
,Container
,Destroyable
,Dumpable
,Dumpable.DumpableContainer
,LifeCycle
,Sweeper.Sweepable
- Direct Known Subclasses:
RandomConnectionPool
,RoundRobinConnectionPool
@ManagedObject @Deprecated(since="2021-05-27") public class MultiplexConnectionPool 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
-
-
Constructor Summary
Constructors Constructor Description MultiplexConnectionPool(HttpDestination destination, int maxConnections, boolean cache, Callback requester, int maxMultiplex)
Deprecated.MultiplexConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex)
Deprecated.MultiplexConnectionPool(HttpDestination destination, Pool.StrategyType strategy, int maxConnections, boolean cache, Callback requester, int maxMultiplex)
Deprecated.MultiplexConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester, int maxMultiplex)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getMaxMultiplex()
Deprecated.int
getMaxUsageCount()
Deprecated.void
setMaxMultiplex(int maxMultiplex)
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 Detail
-
MultiplexConnectionPool
public MultiplexConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex)
Deprecated.
-
MultiplexConnectionPool
public MultiplexConnectionPool(HttpDestination destination, int maxConnections, boolean cache, Callback requester, int maxMultiplex)
Deprecated.
-
MultiplexConnectionPool
public MultiplexConnectionPool(HttpDestination destination, Pool.StrategyType strategy, int maxConnections, boolean cache, Callback requester, int maxMultiplex)
Deprecated.
-
MultiplexConnectionPool
@Deprecated public MultiplexConnectionPool(HttpDestination destination, Pool<Connection> pool, Callback requester, int maxMultiplex)
Deprecated.
-
-
Method Detail
-
getMaxMultiplex
@ManagedAttribute("The multiplexing factor of connections") public int getMaxMultiplex()
Deprecated.
-
setMaxMultiplex
public void setMaxMultiplex(int maxMultiplex)
Deprecated.
-
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.
-
-