|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.component.AbstractLifeCycle org.mortbay.jetty.AbstractBuffers org.mortbay.jetty.AbstractConnector org.mortbay.jetty.nio.AbstractNIOConnector
public abstract class AbstractNIOConnector
Field Summary |
---|
Fields inherited from class org.mortbay.jetty.AbstractConnector |
---|
_lowResourceMaxIdleTime, _maxIdleTime, _soLingerTime |
Constructor Summary | |
---|---|
AbstractNIOConnector()
|
Method Summary | |
---|---|
boolean |
getUseDirectBuffers()
|
protected Buffer |
newBuffer(int size)
|
void |
setUseDirectBuffers(boolean direct)
|
Methods inherited from class org.mortbay.jetty.AbstractBuffers |
---|
getBuffer, getHeaderBufferSize, getRequestBufferSize, getResponseBufferSize, returnBuffer, setHeaderBufferSize, setRequestBufferSize, setResponseBufferSize |
Methods inherited from class org.mortbay.component.AbstractLifeCycle |
---|
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mortbay.jetty.Connector |
---|
close, getConnection, getHeaderBufferSize, getLocalPort, getRequestBufferSize, getResponseBufferSize, setHeaderBufferSize, setRequestBufferSize, setResponseBufferSize |
Methods inherited from interface org.mortbay.component.LifeCycle |
---|
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop |
Methods inherited from interface org.mortbay.io.Buffers |
---|
getBuffer, returnBuffer |
Constructor Detail |
---|
public AbstractNIOConnector()
Method Detail |
---|
public boolean getUseDirectBuffers()
getUseDirectBuffers
in interface NIOConnector
public void setUseDirectBuffers(boolean direct)
direct
- If True (the default), the connector can use NIO direct buffers.
Some JVMs have memory management issues (bugs) with direct buffers.protected Buffer newBuffer(int size)
newBuffer
in class AbstractBuffers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |