Class HttpClientTransportOverUnixSockets.UnixSocketSelectorManager
- java.lang.Object
- 
- org.eclipse.jetty.util.component.AbstractLifeCycle
- 
- org.eclipse.jetty.util.component.ContainerLifeCycle
- 
- org.eclipse.jetty.io.SelectorManager
- 
- org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.ClientSelectorManager
- 
- org.eclipse.jetty.unixsocket.client.HttpClientTransportOverUnixSockets.UnixSocketSelectorManager
 
 
 
 
 
- 
- All Implemented Interfaces:
- Container,- Destroyable,- Dumpable,- Dumpable.DumpableContainer,- LifeCycle
 - Enclosing class:
- HttpClientTransportOverUnixSockets
 
 public class HttpClientTransportOverUnixSockets.UnixSocketSelectorManager extends AbstractConnectorHttpClientTransport.ClientSelectorManager 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.jetty.io.SelectorManagerSelectorManager.AcceptListener
 - 
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycleAbstractLifeCycle.AbstractLifeCycleListener
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.ContainerContainer.InheritedListener, Container.Listener
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.DumpableDumpable.DumpableContainer
 - 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycleLifeCycle.Listener
 
- 
 - 
Field Summary- 
Fields inherited from class org.eclipse.jetty.io.SelectorManagerDEFAULT_CONNECT_TIMEOUT, LOG
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedUnixSocketSelectorManager(HttpClient client, int selectors)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EndPointnewEndPoint(java.nio.channels.SelectableChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key)Factory method to createEndPoint.protected java.nio.channels.SelectornewSelector()- 
Methods inherited from class org.eclipse.jetty.client.AbstractConnectorHttpClientTransport.ClientSelectorManagerconnectionFailed, newConnection
 - 
Methods inherited from class org.eclipse.jetty.io.SelectorManageraccept, accept, accepted, acceptor, addAcceptListener, addEventListener, connect, connectionClosed, connectionOpened, doAccept, doFinishConnect, doStart, doStop, endPointClosed, endPointOpened, execute, getConnectTimeout, getExecutor, getReservedThreads, getScheduler, getSelectorCount, isConnectionPending, newSelector, onAccepted, onAcceptFailed, onAccepting, removeAcceptListener, removeEventListener, setConnectTimeout, setReservedThreads
 - 
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycleaddBean, 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, updateBeans
 - 
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycleaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainerisDumpable
 
- 
 
- 
- 
- 
Constructor Detail- 
UnixSocketSelectorManagerprotected UnixSocketSelectorManager(HttpClient client, int selectors) 
 
- 
 - 
Method Detail- 
newSelectorprotected java.nio.channels.Selector newSelector() throws java.io.IOException- Overrides:
- newSelectorin class- SelectorManager
- Throws:
- java.io.IOException
 
 - 
newEndPointprotected EndPoint newEndPoint(java.nio.channels.SelectableChannel channel, ManagedSelector selector, java.nio.channels.SelectionKey key) Description copied from class:SelectorManagerFactory method to create EndPoint.This method is invoked as a result of the registration of a channel via SelectorManager.connect(SelectableChannel, Object)orSelectorManager.accept(SelectableChannel).- Overrides:
- newEndPointin class- AbstractConnectorHttpClientTransport.ClientSelectorManager
- Parameters:
- channel- the channel associated to the endpoint
- selector- the selector the channel is registered to
- key- the selection key
- Returns:
- a new endpoint
- See Also:
- SelectorManager.newConnection(SelectableChannel, EndPoint, Object)
 
 
- 
 
-