org.apache.geronimo.tomcat.connector
Class Http11NIOConnectorGBean

java.lang.Object
  extended by org.apache.geronimo.tomcat.BaseGBean
      extended by org.apache.geronimo.tomcat.connector.ConnectorGBean
          extended by org.apache.geronimo.tomcat.connector.BaseHttp11ConnectorGBean
              extended by org.apache.geronimo.tomcat.connector.AbstractHttp11ConnectorGBean
                  extended by org.apache.geronimo.tomcat.connector.Http11NIOConnectorGBean
All Implemented Interfaces:
GBeanLifecycle, NetworkConnector, StatisticsProvider, BaseHttp11Protocol, CommonProtocol, Http11NIOProtocol, Http11Protocol, TomcatWebConnector, ObjectRetriever
Direct Known Subclasses:
Https11NIOConnectorGBean

public class Http11NIOConnectorGBean
extends AbstractHttp11ConnectorGBean
implements Http11NIOProtocol


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Fields inherited from class org.apache.geronimo.tomcat.connector.BaseHttp11ConnectorGBean
connectHost
 
Fields inherited from class org.apache.geronimo.tomcat.connector.ConnectorGBean
connector, CONNECTOR_CONTAINER_REFERENCE, serverInfo
 
Constructor Summary
Http11NIOConnectorGBean(String name, Map initParams, String host, int port, TomcatContainer container, ServerInfo serverInfo)
           
 
Method Summary
 int getAcceptorThreadCount()
           
 int getAcceptorThreadPriority()
           
 boolean getCommand_line_options()
           
 int getDefaultPort()
           
static GBeanInfo getGBeanInfo()
           
 String getGeronimoProtocol()
           
 int getOomParachute()
           
 int getPollerThreadCount()
           
 int getPollerThreadPriority()
           
 int getProcessCache()
           
 int getSelectorPool_maxSelectors()
           
 int getSelectorPool_maxSpareSelectors()
           
 int getSelectorTimeout()
           
 int getSocket_appReadBufSize()
           
 int getSocket_appWriteBufSize()
           
 int getSocket_bufferPool()
           
 int getSocket_bufferPoolSize()
           
 boolean getSocket_directBuffer()
           
 int getSocket_eventCache()
           
 int getSocket_keyCache()
           
 boolean getSocket_ooBInline()
           
 int getSocket_performanceBandwidth()
           
 int getSocket_performanceConnectionTime()
           
 int getSocket_performanceLatency()
           
 int getSocket_processorCache()
           
 int getSocket_rxBufSize()
           
 boolean getSocket_soKeepAlive()
           
 boolean getSocket_soLingerOn()
           
 int getSocket_soLingerTime()
           
 boolean getSocket_soReuseAddress()
           
 int getSocket_soTimeout()
           
 int getSocket_soTrafficClass()
           
 boolean getSocket_tcpNoDelay()
           
 int getSocket_txBufSize()
           
 boolean getUseComet()
           
 boolean getUseExecutor()
           
 boolean getUseSendfile()
           
 void setAcceptorThreadCount(int acceptorThreadCount)
           
 void setAcceptorThreadPriority(int acceptorThreadPriority)
           
 void setCommand_line_options(boolean command_line_options)
           
 void setOomParachute(int oomParachute)
           
 void setPollerThreadCount(int pollerThreadCount)
           
 void setPollerThreadPriority(int pollerThreadPriority)
           
 void setProcessCache(int processCache)
           
 void setSelectorPool_maxSelectors(int selectorPool_maxSelectors)
           
 void setSelectorPool_maxSpareSelectors(int selectorPool_maxSpareSelectors)
           
 void setSelectorTimeout(int selectorTimeout)
           
 void setSocket_appReadBufSize(int socket_appReadBufSize)
           
 void setSocket_appWriteBufSize(int socket_appWriteBufSize)
           
 void setSocket_bufferPool(int socket_bufferPool)
           
 void setSocket_bufferPoolSize(int socket_bufferPoolSize)
           
 void setSocket_directBuffer(boolean socket_directBuffer)
           
 void setSocket_eventCache(int socket_eventCache)
           
 void setSocket_keyCache(int socket_keyCache)
           
 void setSocket_ooBInline(boolean socket_ooBInline)
           
 void setSocket_performanceBandwidth(int socket_performanceBandwidth)
           
 void setSocket_performanceConnectionTime(int socket_performanceConnectionTime)
           
 void setSocket_performanceLatency(int socket_performanceLatency)
           
 void setSocket_processorCache(int socket_processorCache)
           
 void setSocket_rxBufSize(int socket_rxBufSize)
           
 void setSocket_soKeepAlive(boolean socket_soKeepAlive)
           
 void setSocket_soLingerOn(boolean socket_soLingerOn)
           
 void setSocket_soLingerTime(int socket_soLingerTime)
           
 void setSocket_soReuseAddress(boolean socket_soReuseAddress)
           
 void setSocket_soTimeout(int socket_soTimeout)
           
 void setSocket_soTrafficClass(int socket_soTrafficClass)
           
 void setSocket_tcpNoDelay(boolean socket_tcpNoDelay)
           
 void setSocket_txBufSize(int socket_txBufSize)
           
 void setUseComet(boolean useComet)
           
 void setUseExecutor(boolean useExecutor)
           
 void setUseSendfile(boolean useSendfile)
           
 
Methods inherited from class org.apache.geronimo.tomcat.connector.AbstractHttp11ConnectorGBean
getAlgorithm, getCiphers, getClientAuth, getKeyAlias, getKeystoreFile, getKeystorePass, getKeystoreType, getSslProtocol, getTruststoreFile, getTruststorePass, getTruststoreType, setAlgorithm, setCiphers, setClientAuth, setKeyAlias, setKeystoreFile, setKeystorePass, setKeystoreType, setSslProtocol, setTruststoreFile, setTruststorePass, setTruststoreType
 
Methods inherited from class org.apache.geronimo.tomcat.connector.BaseHttp11ConnectorGBean
getAcceptCount, getAddress, getBufferSize, getCompressableMimeType, getCompression, getConnectionLinger, getConnectionTimeout, getConnectUrl, getDisableUploadTimeout, getExecutor, getHost, getKeepAliveTimeout, getListenAddress, getMaxHttpHeaderSize, getMaxKeepAliveRequests, getMaxSpareThreads, getMaxThreads, getMinSpareThreads, getNoCompressionUserAgents, getPort, getRestrictedUserAgents, getServer, getSocketBuffer, getStats, getTcpNoDelay, getThreadPriority, initProtocol, isStatisticsProvider, resetStats, setAcceptCount, setAddress, setBufferSize, setCompressableMimeType, setCompression, setConnectionLinger, setConnectionTimeout, setDisableUploadTimeout, setExecutor, setHost, setKeepAliveTimeout, setMaxHttpHeaderSize, setMaxKeepAliveRequests, setMaxSpareThreads, setMaxThreads, setMinSpareThreads, setNoCompressionUserAgents, setPort, setRestrictedUserAgents, setServer, setSocketBuffer, setTcpNoDelay, setThreadPriority
 
Methods inherited from class org.apache.geronimo.tomcat.connector.ConnectorGBean
doFail, doStart, doStop, getAllowTrace, getEmptySessionPath, getEnableLookups, getInternalObject, getMaxPostSize, getMaxSavePostSize, getName, getProtocol, getProxyName, getProxyPort, getRedirectPort, getScheme, getSecure, getSslEnabled, getTomcatProtocol, getUriEncoding, getUseBodyEncodingForURI, getUseIPVHosts, getXpoweredBy, setAllowTrace, setEmptySessionPath, setEnableLookups, setMaxPostSize, setMaxSavePostSize, setProxyName, setProxyPort, setRedirectPort, setScheme, setSecure, setSslEnabled, setUriEncoding, setUseBodyEncodingForURI, setUseIPVHosts, setXpoweredBy, validateProtocol
 
Methods inherited from class org.apache.geronimo.tomcat.BaseGBean
setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

Http11NIOConnectorGBean

public Http11NIOConnectorGBean(String name,
                               Map initParams,
                               String host,
                               int port,
                               TomcatContainer container,
                               ServerInfo serverInfo)
                        throws Exception
Throws:
Exception
Method Detail

getDefaultPort

public int getDefaultPort()
Overrides:
getDefaultPort in class AbstractHttp11ConnectorGBean

getGeronimoProtocol

public String getGeronimoProtocol()
Overrides:
getGeronimoProtocol in class AbstractHttp11ConnectorGBean

getAcceptorThreadCount

public int getAcceptorThreadCount()
Specified by:
getAcceptorThreadCount in interface Http11NIOProtocol

getAcceptorThreadPriority

public int getAcceptorThreadPriority()
Specified by:
getAcceptorThreadPriority in interface Http11NIOProtocol

getCommand_line_options

public boolean getCommand_line_options()
Specified by:
getCommand_line_options in interface Http11NIOProtocol

getOomParachute

public int getOomParachute()
Specified by:
getOomParachute in interface Http11NIOProtocol

getPollerThreadCount

public int getPollerThreadCount()
Specified by:
getPollerThreadCount in interface Http11NIOProtocol

getPollerThreadPriority

public int getPollerThreadPriority()
Specified by:
getPollerThreadPriority in interface Http11NIOProtocol

getProcessCache

public int getProcessCache()
Specified by:
getProcessCache in interface Http11NIOProtocol

getSelectorPool_maxSelectors

public int getSelectorPool_maxSelectors()
Specified by:
getSelectorPool_maxSelectors in interface Http11NIOProtocol

getSelectorPool_maxSpareSelectors

public int getSelectorPool_maxSpareSelectors()
Specified by:
getSelectorPool_maxSpareSelectors in interface Http11NIOProtocol

getSelectorTimeout

public int getSelectorTimeout()
Specified by:
getSelectorTimeout in interface Http11NIOProtocol

getSocket_appReadBufSize

public int getSocket_appReadBufSize()
Specified by:
getSocket_appReadBufSize in interface Http11NIOProtocol

getSocket_appWriteBufSize

public int getSocket_appWriteBufSize()
Specified by:
getSocket_appWriteBufSize in interface Http11NIOProtocol

getSocket_bufferPool

public int getSocket_bufferPool()
Specified by:
getSocket_bufferPool in interface Http11NIOProtocol

getSocket_bufferPoolSize

public int getSocket_bufferPoolSize()
Specified by:
getSocket_bufferPoolSize in interface Http11NIOProtocol

getSocket_directBuffer

public boolean getSocket_directBuffer()
Specified by:
getSocket_directBuffer in interface Http11NIOProtocol

getSocket_eventCache

public int getSocket_eventCache()
Specified by:
getSocket_eventCache in interface Http11NIOProtocol

getSocket_keyCache

public int getSocket_keyCache()
Specified by:
getSocket_keyCache in interface Http11NIOProtocol

getSocket_ooBInline

public boolean getSocket_ooBInline()
Specified by:
getSocket_ooBInline in interface Http11NIOProtocol

getSocket_performanceBandwidth

public int getSocket_performanceBandwidth()
Specified by:
getSocket_performanceBandwidth in interface Http11NIOProtocol

getSocket_performanceConnectionTime

public int getSocket_performanceConnectionTime()
Specified by:
getSocket_performanceConnectionTime in interface Http11NIOProtocol

getSocket_performanceLatency

public int getSocket_performanceLatency()
Specified by:
getSocket_performanceLatency in interface Http11NIOProtocol

getSocket_processorCache

public int getSocket_processorCache()
Specified by:
getSocket_processorCache in interface Http11NIOProtocol

getSocket_rxBufSize

public int getSocket_rxBufSize()
Specified by:
getSocket_rxBufSize in interface Http11NIOProtocol

getSocket_soKeepAlive

public boolean getSocket_soKeepAlive()
Specified by:
getSocket_soKeepAlive in interface Http11NIOProtocol

getSocket_soLingerOn

public boolean getSocket_soLingerOn()
Specified by:
getSocket_soLingerOn in interface Http11NIOProtocol

getSocket_soLingerTime

public int getSocket_soLingerTime()
Specified by:
getSocket_soLingerTime in interface Http11NIOProtocol

getSocket_soReuseAddress

public boolean getSocket_soReuseAddress()
Specified by:
getSocket_soReuseAddress in interface Http11NIOProtocol

getSocket_soTimeout

public int getSocket_soTimeout()
Specified by:
getSocket_soTimeout in interface Http11NIOProtocol

getSocket_soTrafficClass

public int getSocket_soTrafficClass()
Specified by:
getSocket_soTrafficClass in interface Http11NIOProtocol

getSocket_tcpNoDelay

public boolean getSocket_tcpNoDelay()
Specified by:
getSocket_tcpNoDelay in interface Http11NIOProtocol

getSocket_txBufSize

public int getSocket_txBufSize()
Specified by:
getSocket_txBufSize in interface Http11NIOProtocol

getUseComet

public boolean getUseComet()
Specified by:
getUseComet in interface Http11NIOProtocol

getUseExecutor

public boolean getUseExecutor()
Specified by:
getUseExecutor in interface Http11NIOProtocol

getUseSendfile

public boolean getUseSendfile()
Specified by:
getUseSendfile in interface Http11NIOProtocol

setAcceptorThreadCount

public void setAcceptorThreadCount(int acceptorThreadCount)
Specified by:
setAcceptorThreadCount in interface Http11NIOProtocol

setAcceptorThreadPriority

public void setAcceptorThreadPriority(int acceptorThreadPriority)
Specified by:
setAcceptorThreadPriority in interface Http11NIOProtocol

setCommand_line_options

public void setCommand_line_options(boolean command_line_options)
Specified by:
setCommand_line_options in interface Http11NIOProtocol

setOomParachute

public void setOomParachute(int oomParachute)
Specified by:
setOomParachute in interface Http11NIOProtocol

setPollerThreadCount

public void setPollerThreadCount(int pollerThreadCount)
Specified by:
setPollerThreadCount in interface Http11NIOProtocol

setPollerThreadPriority

public void setPollerThreadPriority(int pollerThreadPriority)
Specified by:
setPollerThreadPriority in interface Http11NIOProtocol

setProcessCache

public void setProcessCache(int processCache)
Specified by:
setProcessCache in interface Http11NIOProtocol

setSelectorPool_maxSelectors

public void setSelectorPool_maxSelectors(int selectorPool_maxSelectors)
Specified by:
setSelectorPool_maxSelectors in interface Http11NIOProtocol

setSelectorPool_maxSpareSelectors

public void setSelectorPool_maxSpareSelectors(int selectorPool_maxSpareSelectors)
Specified by:
setSelectorPool_maxSpareSelectors in interface Http11NIOProtocol

setSelectorTimeout

public void setSelectorTimeout(int selectorTimeout)
Specified by:
setSelectorTimeout in interface Http11NIOProtocol

setSocket_appReadBufSize

public void setSocket_appReadBufSize(int socket_appReadBufSize)
Specified by:
setSocket_appReadBufSize in interface Http11NIOProtocol

setSocket_appWriteBufSize

public void setSocket_appWriteBufSize(int socket_appWriteBufSize)
Specified by:
setSocket_appWriteBufSize in interface Http11NIOProtocol

setSocket_bufferPool

public void setSocket_bufferPool(int socket_bufferPool)
Specified by:
setSocket_bufferPool in interface Http11NIOProtocol

setSocket_bufferPoolSize

public void setSocket_bufferPoolSize(int socket_bufferPoolSize)
Specified by:
setSocket_bufferPoolSize in interface Http11NIOProtocol

setSocket_directBuffer

public void setSocket_directBuffer(boolean socket_directBuffer)
Specified by:
setSocket_directBuffer in interface Http11NIOProtocol

setSocket_eventCache

public void setSocket_eventCache(int socket_eventCache)
Specified by:
setSocket_eventCache in interface Http11NIOProtocol

setSocket_keyCache

public void setSocket_keyCache(int socket_keyCache)
Specified by:
setSocket_keyCache in interface Http11NIOProtocol

setSocket_ooBInline

public void setSocket_ooBInline(boolean socket_ooBInline)
Specified by:
setSocket_ooBInline in interface Http11NIOProtocol

setSocket_performanceBandwidth

public void setSocket_performanceBandwidth(int socket_performanceBandwidth)
Specified by:
setSocket_performanceBandwidth in interface Http11NIOProtocol

setSocket_performanceConnectionTime

public void setSocket_performanceConnectionTime(int socket_performanceConnectionTime)
Specified by:
setSocket_performanceConnectionTime in interface Http11NIOProtocol

setSocket_performanceLatency

public void setSocket_performanceLatency(int socket_performanceLatency)
Specified by:
setSocket_performanceLatency in interface Http11NIOProtocol

setSocket_processorCache

public void setSocket_processorCache(int socket_processorCache)
Specified by:
setSocket_processorCache in interface Http11NIOProtocol

setSocket_rxBufSize

public void setSocket_rxBufSize(int socket_rxBufSize)
Specified by:
setSocket_rxBufSize in interface Http11NIOProtocol

setSocket_soKeepAlive

public void setSocket_soKeepAlive(boolean socket_soKeepAlive)
Specified by:
setSocket_soKeepAlive in interface Http11NIOProtocol

setSocket_soLingerOn

public void setSocket_soLingerOn(boolean socket_soLingerOn)
Specified by:
setSocket_soLingerOn in interface Http11NIOProtocol

setSocket_soLingerTime

public void setSocket_soLingerTime(int socket_soLingerTime)
Specified by:
setSocket_soLingerTime in interface Http11NIOProtocol

setSocket_soReuseAddress

public void setSocket_soReuseAddress(boolean socket_soReuseAddress)
Specified by:
setSocket_soReuseAddress in interface Http11NIOProtocol

setSocket_soTimeout

public void setSocket_soTimeout(int socket_soTimeout)
Specified by:
setSocket_soTimeout in interface Http11NIOProtocol

setSocket_soTrafficClass

public void setSocket_soTrafficClass(int socket_soTrafficClass)
Specified by:
setSocket_soTrafficClass in interface Http11NIOProtocol

setSocket_tcpNoDelay

public void setSocket_tcpNoDelay(boolean socket_tcpNoDelay)
Specified by:
setSocket_tcpNoDelay in interface Http11NIOProtocol

setSocket_txBufSize

public void setSocket_txBufSize(int socket_txBufSize)
Specified by:
setSocket_txBufSize in interface Http11NIOProtocol

setUseComet

public void setUseComet(boolean useComet)
Specified by:
setUseComet in interface Http11NIOProtocol

setUseExecutor

public void setUseExecutor(boolean useExecutor)
Specified by:
setUseExecutor in interface Http11NIOProtocol

setUseSendfile

public void setUseSendfile(boolean useSendfile)
Specified by:
setUseSendfile in interface Http11NIOProtocol

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.