|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.AbstractConnector
org.eclipse.jetty.server.nio.AbstractNIOConnector
org.eclipse.jetty.server.nio.BlockingChannelConnector
public class BlockingChannelConnector
Blocking NIO connector. This connector uses efficient NIO buffers with a traditional blocking thread model. Direct NIO buffers are used and a thread is allocated per connections. This connector is best used when there are a few very active connections.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener |
| Nested 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.server.AbstractConnector |
|---|
_buffers, _lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime |
| Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
_listeners, FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING |
| Constructor Summary | |
|---|---|
BlockingChannelConnector()
Constructor. |
|
| Method Summary | |
|---|---|
void |
accept(int acceptorID)
|
void |
close()
|
void |
customize(org.eclipse.jetty.io.EndPoint endpoint,
Request request)
Customize a request for an endpoint. |
protected void |
doStart()
|
Object |
getConnection()
|
int |
getLocalPort()
|
void |
open()
Opens the connector |
| Methods inherited from class org.eclipse.jetty.server.nio.AbstractNIOConnector |
|---|
getUseDirectBuffers, setUseDirectBuffers |
| Methods inherited from class org.eclipse.jetty.util.component.AggregateLifeCycle |
|---|
addBean, addBean, contains, destroy, dump, dump, dump, dump, dump, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
| Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle |
|---|
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
|---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
| Methods inherited from interface org.eclipse.jetty.util.component.Dumpable |
|---|
dump, dump |
| Constructor Detail |
|---|
public BlockingChannelConnector()
| Method Detail |
|---|
public Object getConnection()
protected void doStart()
throws Exception
doStart in class AbstractConnectorExceptionAbstractConnector.doStart()
public void open()
throws IOException
Connector
IOException
public void close()
throws IOException
IOException
public void accept(int acceptorID)
throws IOException,
InterruptedException
accept in class AbstractConnectorIOException
InterruptedException
public void customize(org.eclipse.jetty.io.EndPoint endpoint,
Request request)
throws IOException
Connector
customize in interface Connectorcustomize in class AbstractConnectorIOExceptionpublic int getLocalPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||