Container
, Destroyable
, Dumpable
, LifeCycle
public class HttpClientTransportOverUnixSockets.UnixSocketSelectorManager extends AbstractConnectorHttpClientTransport.ClientSelectorManager
AbstractLifeCycle.AbstractLifeCycleListener
Container.InheritedListener, Container.Listener
LifeCycle.Listener
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING
DEFAULT_CONNECT_TIMEOUT, LOG
Modifier | Constructor | Description |
---|---|---|
protected |
UnixSocketSelectorManager(HttpClient client,
int selectors) |
Modifier and Type | Method | Description |
---|---|---|
protected EndPoint |
newEndPoint(java.nio.channels.SelectableChannel channel,
ManagedSelector selector,
java.nio.channels.SelectionKey key) |
|
protected java.nio.channels.Selector |
newSelector() |
connectionFailed, newConnection
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
addBean, 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, updateBeans
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, accept, accepted, acceptor, connect, connectionClosed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, endPointClosed, endPointOpened, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, isConnectionPending, newSelector, setConnectTimeout, setReservedThreads
protected UnixSocketSelectorManager(HttpClient client, int selectors)
protected java.nio.channels.Selector newSelector() throws java.io.IOException
newSelector
in class SelectorManager
java.io.IOException
protected EndPoint newEndPoint(java.nio.channels.SelectableChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key)
newEndPoint
in class AbstractConnectorHttpClientTransport.ClientSelectorManager
Copyright © 1995–2018 Webtide. All rights reserved.