Package org.eclipse.jetty.http2.client
Class HTTP2Client.ClientSelectorManager
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.io.SelectorManager
org.eclipse.jetty.http2.client.HTTP2Client.ClientSelectorManager
- All Implemented Interfaces:
org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
HTTP2Client
private class HTTP2Client.ClientSelectorManager
extends org.eclipse.jetty.io.SelectorManager
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.io.SelectorManager
org.eclipse.jetty.io.SelectorManager.AcceptListenerNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener -
Field Summary
Fields inherited from class org.eclipse.jetty.io.SelectorManager
DEFAULT_CONNECT_TIMEOUT, LOGFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClientSelectorManager(Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconnectionFailed(SelectableChannel channel, Throwable failure, Object attachment) org.eclipse.jetty.io.ConnectionnewConnection(SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, Object attachment) protected org.eclipse.jetty.io.EndPointnewEndPoint(SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, SelectionKey selectionKey) Methods inherited from class org.eclipse.jetty.io.SelectorManager
accept, accept, accepted, acceptor, addAcceptListener, addEventListener, connect, connectionClosed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, endPointClosed, endPointOpened, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, isConnectionPending, newSelector, newSelector, onAccepted, onAcceptFailed, onAccepting, removeAcceptListener, removeEventListener, setConnectTimeout, setReservedThreadsMethods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, 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, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dump, dumpSelfMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpable
-
Constructor Details
-
ClientSelectorManager
private ClientSelectorManager(Executor executor, org.eclipse.jetty.util.thread.Scheduler scheduler, int selectors)
-
-
Method Details
-
newEndPoint
protected org.eclipse.jetty.io.EndPoint newEndPoint(SelectableChannel channel, org.eclipse.jetty.io.ManagedSelector selector, SelectionKey selectionKey) throws IOException - Specified by:
newEndPointin classorg.eclipse.jetty.io.SelectorManager- Throws:
IOException
-
newConnection
public org.eclipse.jetty.io.Connection newConnection(SelectableChannel channel, org.eclipse.jetty.io.EndPoint endpoint, Object attachment) throws IOException - Specified by:
newConnectionin classorg.eclipse.jetty.io.SelectorManager- Throws:
IOException
-
connectionFailed
- Overrides:
connectionFailedin classorg.eclipse.jetty.io.SelectorManager
-