Container, Destroyable, Dumpable, LifeCycleprotected class AbstractConnectorHttpClientTransport.ClientSelectorManager extends SelectorManager
AbstractLifeCycle.AbstractLifeCycleListenerContainer.InheritedListener, Container.ListenerLifeCycle.ListenerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPINGDEFAULT_CONNECT_TIMEOUT, LOG| Modifier | Constructor | Description |
|---|---|---|
protected |
ClientSelectorManager(HttpClient client,
int selectors) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
connectionFailed(java.nio.channels.SelectableChannel channel,
java.lang.Throwable x,
java.lang.Object attachment) |
|
Connection |
newConnection(java.nio.channels.SelectableChannel channel,
EndPoint endPoint,
java.lang.Object attachment) |
|
protected EndPoint |
newEndPoint(java.nio.channels.SelectableChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key) |
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, accepted, acceptor, connect, connectionClosed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, endPointClosed, endPointOpened, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, isConnectionPending, newSelector, newSelector, setConnectTimeout, setReservedThreadsprotected ClientSelectorManager(HttpClient client, int selectors)
protected EndPoint newEndPoint(java.nio.channels.SelectableChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key)
newEndPoint in class SelectorManagerpublic Connection newConnection(java.nio.channels.SelectableChannel channel, EndPoint endPoint, java.lang.Object attachment) throws java.io.IOException
newConnection in class SelectorManagerjava.io.IOExceptionprotected void connectionFailed(java.nio.channels.SelectableChannel channel,
java.lang.Throwable x,
java.lang.Object attachment)
connectionFailed in class SelectorManagerCopyright © 1995–2017 Webtide. All rights reserved.