@ManagedObject public class RandomConnectionPool extends MultiplexConnectionPool
A ConnectionPool
that provides connections
randomly among the ones that are available.
AbstractLifeCycle.AbstractLifeCycleListener
ConnectionPool.Factory, ConnectionPool.Multiplexable
Dumpable.DumpableContainer
Container.InheritedListener, Container.Listener
LifeCycle.Listener
Constructor and Description |
---|
RandomConnectionPool(HttpDestination destination,
int maxConnections,
Callback requester,
int maxMultiplex) |
getMaxMultiplex, getMaxUsageCount, setMaxMultiplex, setMaxUsageCount
acquire, acquire, acquired, activate, close, deactivate, doStop, dump, getActiveConnectionCount, getActiveConnections, getConnectionCount, getIdleConnectionCount, getIdleConnections, getMaxConnectionCount, getMaxDuration, getPendingConnectionCount, getPendingCount, idle, isActive, isClosed, isEmpty, isMaximizeConnections, onCreated, preCreateConnections, proceed, release, released, remove, remove, removed, setMaxDuration, setMaximizeConnections, sweep, toString, tryCreate
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dump, dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, named
isDumpable
public RandomConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex)
Copyright © 1995–2021 Webtide. All rights reserved.