Package org.eclipse.jetty.client
Class RandomConnectionPool
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
org.eclipse.jetty.client.RandomConnectionPool
- All Implemented Interfaces:
Closeable,AutoCloseable,ConnectionPool,Container,Destroyable,Dumpable,Dumpable.DumpableContainer,LifeCycle,Sweeper.Sweepable
@ManagedObject
@Deprecated(since="2021-05-27")
public class RandomConnectionPool
extends MultiplexConnectionPool
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
A ConnectionPool that provides connections
randomly among the ones that are available.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.client.ConnectionPool
ConnectionPool.Factory, ConnectionPool.MultiplexableNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRandomConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex) Deprecated. -
Method Summary
Methods inherited from class org.eclipse.jetty.client.MultiplexConnectionPool
getMaxMultiplex, getMaxUsageCount, setMaxMultiplex, setMaxUsageCountMethods 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, toStringMethods 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, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
RandomConnectionPool
public RandomConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex) Deprecated.
-