Java Doc for AprEndpoint.java in  » Sevlet-Container » apache-tomcat-6.0.14 » org » apache » tomcat » util » net » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » apache tomcat 6.0.14 » org.apache.tomcat.util.net 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.tomcat.util.net.AprEndpoint

AprEndpoint
public class AprEndpoint (Code)
APR tailored thread pool, providing the following services:
  • Socket acceptor thread
  • Socket poller thread
  • Sendfile thread
  • Worker threads pool
When switching to Java 5, there's an opportunity to use the virtual machine's thread pool.
author:
   Mladen Turk
author:
   Remy Maucherat

Inner Class :protected class Acceptor implements Runnable
Inner Class :public class Poller implements Runnable
Inner Class :protected class Worker implements Runnable
Inner Class :public static class SendfileData
Inner Class :public class Sendfile implements Runnable
Inner Class :public interface Handler
Inner Class :public class WorkerStack
Inner Class :protected class SocketWithOptionsProcessor implements Runnable
Inner Class :protected class SocketProcessor implements Runnable
Inner Class :protected class SocketEventProcessor implements Runnable

Field Summary
final public static  StringCERTIFICATE_KEY
     The Request attribute key for the client certificate chain.
final public static  StringCIPHER_SUITE_KEY
     The Request attribute key for the cipher suite.
final public static  StringKEY_SIZE_KEY
     The Request attribute key for the key size.
final public static  StringSESSION_ID_KEY
     The Request attribute key for the session id.
protected  StringSSLCACertificateFile
     SSL CA certificate file.
protected  StringSSLCACertificatePath
     SSL CA certificate path.
protected  StringSSLCARevocationFile
     SSL CA revocation file.
protected  StringSSLCARevocationPath
     SSL CA revocation path.
protected  StringSSLCertificateChainFile
     SSL certificate chain file.
protected  StringSSLCertificateFile
     SSL certificate file.
protected  StringSSLCertificateKeyFile
     SSL certificate key file.
protected  StringSSLCipherSuite
     SSL cipher suite.
protected  booleanSSLEnabled
     SSL engine.
protected  StringSSLPassword
     SSL password (if a cert is encrypted, and no password has been provided, a callback will ask for a password).
protected  StringSSLProtocol
     SSL protocols.
protected  StringSSLVerifyClient
     SSL verify client.
protected  intSSLVerifyDepth
     SSL verify depth.
protected  intacceptorThreadCount
     Acceptor thread count.
protected  InetAddressaddress
     Address for the server socket.
protected  intbacklog
     Allows the server developer to specify the backlog that should be used for server sockets.
protected  intcometPollerRoundRobin
    
protected  Poller[]cometPollers
     The socket poller used for Comet support.
protected  intcurThreads
     Current worker threads count.
protected  intcurThreadsBusy
     Current worker threads busy count.
protected  booleandaemon
     The default is true - the created threads will be in daemon mode.
protected  booleandeferAccept
     Defer accept.
protected  Executorexecutor
     External Executor based thread pool.
protected  Handlerhandler
     Handling of accepted sockets.
protected  booleaninitialized
     Track the initialization state of the endpoint.
protected  intkeepAliveTimeout
     Keep-Alive timeout.
protected static  Loglog
    
protected  intmaxThreads
     Maximum amount of worker threads.
protected  Stringname
     Name of the thread pool, which will be used for naming child threads.
protected volatile  booleanpaused
     Will be set to true whenever the endpoint is paused.
protected  intpollTime
     Poll interval, in microseconds.
protected  intpollerRoundRobin
    
protected  intpollerSize
     Size of the socket poller.
protected  intpollerThreadCount
     Poller thread count.
protected  Poller[]pollers
     The socket poller.
protected  intport
     Server socket port.
protected  longrootPool
     Root APR memory pool.
protected volatile  booleanrunning
     Running state of the endpoint.
protected  intsendfileRoundRobin
    
protected  intsendfileSize
     Size of the sendfile (= concurrent files which can be served).
protected  intsendfileThreadCount
     Sendfile thread count.
protected  Sendfile[]sendfiles
     The static file sender.
protected  intsequence
     Sequence number used to generate thread names.
protected  longserverSock
     Server socket "pointer".
protected  longserverSockPool
     APR memory pool for the server socket.
protected static  StringManagersm
    
protected  intsoLinger
     Socket linger.
protected  intsoTimeout
     Socket timeout.
protected  longsslContext
     SSL context.
protected  booleantcpNoDelay
     Socket TCP no delay.
protected  intthreadPriority
     Priority of the acceptor and poller threads.
protected  booleanuseComet
     Allow comet request handling.
protected  booleanuseSendfile
     Use endfile for sending static files.
protected  WorkerStackworkers
     Available workers.


Method Summary
protected  longallocatePoller(int size, long pool, int timeout)
     Allocate a new poller of the specified size.
protected  WorkercreateWorkerThread()
     Create (or allocate) and return an available processor for use in processing a specific HTTP request, if possible.
public  voiddestroy()
     Deallocate APR memory pools, and close server socket.
public  intgetAcceptorThreadCount()
    
public  InetAddressgetAddress()
    
public  intgetBacklog()
    
public  PollergetCometPoller()
    
public  intgetCurrentThreadCount()
     Return the amount of threads that are managed by the pool.
public  intgetCurrentThreadsBusy()
     Return the amount of threads currently busy.
public  booleangetDaemon()
    
public  ExecutorgetExecutor()
    
public  HandlergetHandler()
    
public  intgetKeepAliveCount()
     Number of keepalive sockets.
public  intgetKeepAliveTimeout()
    
public  intgetMaxSpareThreads()
     Dummy maxSpareThreads property.
public  intgetMaxThreads()
    
public  intgetMinSpareThreads()
     Dummy minSpareThreads property.
public  StringgetName()
    
public  intgetPollTime()
    
public  PollergetPoller()
    
public  intgetPollerSize()
    
public  intgetPollerThreadCount()
    
public  intgetPort()
    
public  StringgetSSLCACertificateFile()
    
public  StringgetSSLCACertificatePath()
    
public  StringgetSSLCARevocationFile()
    
public  StringgetSSLCARevocationPath()
    
public  StringgetSSLCertificateChainFile()
    
public  StringgetSSLCertificateFile()
    
public  StringgetSSLCertificateKeyFile()
    
public  StringgetSSLCipherSuite()
    
public  StringgetSSLPassword()
    
public  StringgetSSLProtocol()
    
public  StringgetSSLVerifyClient()
    
public  intgetSSLVerifyDepth()
    
public  SendfilegetSendfile()
    
public  intgetSendfileCount()
     Number of sendfile sockets.
public  intgetSendfileSize()
    
public  intgetSendfileThreadCount()
    
protected  intgetSequence()
     Get a sequence number used for thread naming.
public  intgetSoLinger()
    
public  intgetSoTimeout()
    
public  booleangetTcpNoDelay()
    
public  intgetThreadPriority()
    
public  booleangetUseComet()
    
public  booleangetUseSendfile()
    
protected  WorkergetWorkerThread()
     Return a new worker thread, and block while to worker is available.
public  voidinit()
     Initialize the endpoint.
public  booleanisPaused()
     Return the state of the endpoint.
public  booleanisRunning()
     Return the state of the endpoint.
public  booleanisSSLEnabled()
    
protected  WorkernewWorkerThread()
     Create and return a new processor suitable for processing HTTP requests and returning the corresponding responses.
public  voidpause()
     Pause the endpoint, which will make it stop accepting new sockets.
protected  booleanprocessSocket(long socket)
     Process given socket.
protected  booleanprocessSocket(long socket, SocketStatus status)
     Process given socket for an event.
protected  booleanprocessSocketWithOptions(long socket)
     Process given socket.
protected  voidrecycleWorkerThread(Worker workerThread)
     Recycle the specified Processor so that it can be used again.
public  voidresume()
     Resume the endpoint, which will make it start accepting new sockets again.
public  voidsetAcceptorThreadCount(int acceptorThreadCount)
    
public  voidsetAddress(InetAddress address)
    
public  voidsetBacklog(int backlog)
    
public  voidsetDaemon(boolean b)
    
public  voidsetExecutor(Executor executor)
    
public  voidsetHandler(Handler handler)
    
public  voidsetKeepAliveTimeout(int keepAliveTimeout)
    
public  voidsetMaxThreads(int maxThreads)
    
public  voidsetName(String name)
    
public  voidsetPollTime(int pollTime)
    
public  voidsetPollerSize(int pollerSize)
    
public  voidsetPollerThreadCount(int pollerThreadCount)
    
public  voidsetPort(int port)
    
public  voidsetSSLCACertificateFile(String SSLCACertificateFile)
    
public  voidsetSSLCACertificatePath(String SSLCACertificatePath)
    
public  voidsetSSLCARevocationFile(String SSLCARevocationFile)
    
public  voidsetSSLCARevocationPath(String SSLCARevocationPath)
    
public  voidsetSSLCertificateChainFile(String SSLCertificateChainFile)
    
public  voidsetSSLCertificateFile(String SSLCertificateFile)
    
public  voidsetSSLCertificateKeyFile(String SSLCertificateKeyFile)
    
public  voidsetSSLCipherSuite(String SSLCipherSuite)
    
public  voidsetSSLEnabled(boolean SSLEnabled)
    
public  voidsetSSLPassword(String SSLPassword)
    
public  voidsetSSLProtocol(String SSLProtocol)
    
public  voidsetSSLVerifyClient(String SSLVerifyClient)
    
public  voidsetSSLVerifyDepth(int SSLVerifyDepth)
    
public  voidsetSendfileSize(int sendfileSize)
    
public  voidsetSendfileThreadCount(int sendfileThreadCount)
    
public  voidsetSoLinger(int soLinger)
    
public  voidsetSoTimeout(int soTimeout)
    
protected  booleansetSocketOptions(long socket)
     Process the specified connection.
public  voidsetTcpNoDelay(boolean tcpNoDelay)
    
public  voidsetThreadPriority(int threadPriority)
    
public  voidsetUseComet(boolean useComet)
    
public  voidsetUseSendfile(boolean useSendfile)
    
public  voidstart()
     Start the APR endpoint, creating acceptor, poller and sendfile threads.
public  voidstop()
     Stop the endpoint.
protected  voidunlockAccept()
     Unlock the server socket accept using a bugus connection.

Field Detail
CERTIFICATE_KEY
final public static String CERTIFICATE_KEY(Code)
The Request attribute key for the client certificate chain.



CIPHER_SUITE_KEY
final public static String CIPHER_SUITE_KEY(Code)
The Request attribute key for the cipher suite.



KEY_SIZE_KEY
final public static String KEY_SIZE_KEY(Code)
The Request attribute key for the key size.



SESSION_ID_KEY
final public static String SESSION_ID_KEY(Code)
The Request attribute key for the session id. This one is a Tomcat extension to the Servlet spec.



SSLCACertificateFile
protected String SSLCACertificateFile(Code)
SSL CA certificate file.



SSLCACertificatePath
protected String SSLCACertificatePath(Code)
SSL CA certificate path.



SSLCARevocationFile
protected String SSLCARevocationFile(Code)
SSL CA revocation file.



SSLCARevocationPath
protected String SSLCARevocationPath(Code)
SSL CA revocation path.



SSLCertificateChainFile
protected String SSLCertificateChainFile(Code)
SSL certificate chain file.



SSLCertificateFile
protected String SSLCertificateFile(Code)
SSL certificate file.



SSLCertificateKeyFile
protected String SSLCertificateKeyFile(Code)
SSL certificate key file.



SSLCipherSuite
protected String SSLCipherSuite(Code)
SSL cipher suite.



SSLEnabled
protected boolean SSLEnabled(Code)
SSL engine.



SSLPassword
protected String SSLPassword(Code)
SSL password (if a cert is encrypted, and no password has been provided, a callback will ask for a password).



SSLProtocol
protected String SSLProtocol(Code)
SSL protocols.



SSLVerifyClient
protected String SSLVerifyClient(Code)
SSL verify client.



SSLVerifyDepth
protected int SSLVerifyDepth(Code)
SSL verify depth.



acceptorThreadCount
protected int acceptorThreadCount(Code)
Acceptor thread count.



address
protected InetAddress address(Code)
Address for the server socket.



backlog
protected int backlog(Code)
Allows the server developer to specify the backlog that should be used for server sockets. By default, this value is 100.



cometPollerRoundRobin
protected int cometPollerRoundRobin(Code)



cometPollers
protected Poller[] cometPollers(Code)
The socket poller used for Comet support.



curThreads
protected int curThreads(Code)
Current worker threads count.



curThreadsBusy
protected int curThreadsBusy(Code)
Current worker threads busy count.



daemon
protected boolean daemon(Code)
The default is true - the created threads will be in daemon mode. If set to false, the control thread will not be daemon - and will keep the process alive.



deferAccept
protected boolean deferAccept(Code)
Defer accept.



executor
protected Executor executor(Code)
External Executor based thread pool.



handler
protected Handler handler(Code)
Handling of accepted sockets.



initialized
protected boolean initialized(Code)
Track the initialization state of the endpoint.



keepAliveTimeout
protected int keepAliveTimeout(Code)
Keep-Alive timeout.



log
protected static Log log(Code)



maxThreads
protected int maxThreads(Code)
Maximum amount of worker threads.



name
protected String name(Code)
Name of the thread pool, which will be used for naming child threads.



paused
protected volatile boolean paused(Code)
Will be set to true whenever the endpoint is paused.



pollTime
protected int pollTime(Code)
Poll interval, in microseconds. The smaller the value, the more CPU the poller will use, but the more responsive to activity it will be.



pollerRoundRobin
protected int pollerRoundRobin(Code)



pollerSize
protected int pollerSize(Code)
Size of the socket poller.



pollerThreadCount
protected int pollerThreadCount(Code)
Poller thread count.



pollers
protected Poller[] pollers(Code)
The socket poller.



port
protected int port(Code)
Server socket port.



rootPool
protected long rootPool(Code)
Root APR memory pool.



running
protected volatile boolean running(Code)
Running state of the endpoint.



sendfileRoundRobin
protected int sendfileRoundRobin(Code)



sendfileSize
protected int sendfileSize(Code)
Size of the sendfile (= concurrent files which can be served).



sendfileThreadCount
protected int sendfileThreadCount(Code)
Sendfile thread count.



sendfiles
protected Sendfile[] sendfiles(Code)
The static file sender.



sequence
protected int sequence(Code)
Sequence number used to generate thread names.



serverSock
protected long serverSock(Code)
Server socket "pointer".



serverSockPool
protected long serverSockPool(Code)
APR memory pool for the server socket.



sm
protected static StringManager sm(Code)



soLinger
protected int soLinger(Code)
Socket linger.



soTimeout
protected int soTimeout(Code)
Socket timeout.



sslContext
protected long sslContext(Code)
SSL context.



tcpNoDelay
protected boolean tcpNoDelay(Code)
Socket TCP no delay.



threadPriority
protected int threadPriority(Code)
Priority of the acceptor and poller threads.



useComet
protected boolean useComet(Code)
Allow comet request handling.



useSendfile
protected boolean useSendfile(Code)
Use endfile for sending static files.



workers
protected WorkerStack workers(Code)
Available workers.





Method Detail
allocatePoller
protected long allocatePoller(int size, long pool, int timeout)(Code)
Allocate a new poller of the specified size.



createWorkerThread
protected Worker createWorkerThread()(Code)
Create (or allocate) and return an available processor for use in processing a specific HTTP request, if possible. If the maximum allowed processors have already been created and are in use, return null instead.



destroy
public void destroy() throws Exception(Code)
Deallocate APR memory pools, and close server socket.



getAcceptorThreadCount
public int getAcceptorThreadCount()(Code)



getAddress
public InetAddress getAddress()(Code)



getBacklog
public int getBacklog()(Code)



getCometPoller
public Poller getCometPoller()(Code)



getCurrentThreadCount
public int getCurrentThreadCount()(Code)
Return the amount of threads that are managed by the pool. the amount of threads that are managed by the pool



getCurrentThreadsBusy
public int getCurrentThreadsBusy()(Code)
Return the amount of threads currently busy. the amount of threads currently busy



getDaemon
public boolean getDaemon()(Code)



getExecutor
public Executor getExecutor()(Code)



getHandler
public Handler getHandler()(Code)



getKeepAliveCount
public int getKeepAliveCount()(Code)
Number of keepalive sockets.



getKeepAliveTimeout
public int getKeepAliveTimeout()(Code)



getMaxSpareThreads
public int getMaxSpareThreads()(Code)
Dummy maxSpareThreads property.



getMaxThreads
public int getMaxThreads()(Code)



getMinSpareThreads
public int getMinSpareThreads()(Code)
Dummy minSpareThreads property.



getName
public String getName()(Code)



getPollTime
public int getPollTime()(Code)



getPoller
public Poller getPoller()(Code)



getPollerSize
public int getPollerSize()(Code)



getPollerThreadCount
public int getPollerThreadCount()(Code)



getPort
public int getPort()(Code)



getSSLCACertificateFile
public String getSSLCACertificateFile()(Code)



getSSLCACertificatePath
public String getSSLCACertificatePath()(Code)



getSSLCARevocationFile
public String getSSLCARevocationFile()(Code)



getSSLCARevocationPath
public String getSSLCARevocationPath()(Code)



getSSLCertificateChainFile
public String getSSLCertificateChainFile()(Code)



getSSLCertificateFile
public String getSSLCertificateFile()(Code)



getSSLCertificateKeyFile
public String getSSLCertificateKeyFile()(Code)



getSSLCipherSuite
public String getSSLCipherSuite()(Code)



getSSLPassword
public String getSSLPassword()(Code)



getSSLProtocol
public String getSSLProtocol()(Code)



getSSLVerifyClient
public String getSSLVerifyClient()(Code)



getSSLVerifyDepth
public int getSSLVerifyDepth()(Code)



getSendfile
public Sendfile getSendfile()(Code)



getSendfileCount
public int getSendfileCount()(Code)
Number of sendfile sockets.



getSendfileSize
public int getSendfileSize()(Code)



getSendfileThreadCount
public int getSendfileThreadCount()(Code)



getSequence
protected int getSequence()(Code)
Get a sequence number used for thread naming.



getSoLinger
public int getSoLinger()(Code)



getSoTimeout
public int getSoTimeout()(Code)



getTcpNoDelay
public boolean getTcpNoDelay()(Code)



getThreadPriority
public int getThreadPriority()(Code)



getUseComet
public boolean getUseComet()(Code)



getUseSendfile
public boolean getUseSendfile()(Code)



getWorkerThread
protected Worker getWorkerThread()(Code)
Return a new worker thread, and block while to worker is available.



init
public void init() throws Exception(Code)
Initialize the endpoint.



isPaused
public boolean isPaused()(Code)
Return the state of the endpoint. true if the endpoint is paused, false otherwise



isRunning
public boolean isRunning()(Code)
Return the state of the endpoint. true if the endpoint is running, false otherwise



isSSLEnabled
public boolean isSSLEnabled()(Code)



newWorkerThread
protected Worker newWorkerThread()(Code)
Create and return a new processor suitable for processing HTTP requests and returning the corresponding responses.



pause
public void pause()(Code)
Pause the endpoint, which will make it stop accepting new sockets.



processSocket
protected boolean processSocket(long socket)(Code)
Process given socket.



processSocket
protected boolean processSocket(long socket, SocketStatus status)(Code)
Process given socket for an event.



processSocketWithOptions
protected boolean processSocketWithOptions(long socket)(Code)
Process given socket.



recycleWorkerThread
protected void recycleWorkerThread(Worker workerThread)(Code)
Recycle the specified Processor so that it can be used again.
Parameters:
  workerThread - The processor to be recycled



resume
public void resume()(Code)
Resume the endpoint, which will make it start accepting new sockets again.



setAcceptorThreadCount
public void setAcceptorThreadCount(int acceptorThreadCount)(Code)



setAddress
public void setAddress(InetAddress address)(Code)



setBacklog
public void setBacklog(int backlog)(Code)



setDaemon
public void setDaemon(boolean b)(Code)



setExecutor
public void setExecutor(Executor executor)(Code)



setHandler
public void setHandler(Handler handler)(Code)



setKeepAliveTimeout
public void setKeepAliveTimeout(int keepAliveTimeout)(Code)



setMaxThreads
public void setMaxThreads(int maxThreads)(Code)



setName
public void setName(String name)(Code)



setPollTime
public void setPollTime(int pollTime)(Code)



setPollerSize
public void setPollerSize(int pollerSize)(Code)



setPollerThreadCount
public void setPollerThreadCount(int pollerThreadCount)(Code)



setPort
public void setPort(int port)(Code)



setSSLCACertificateFile
public void setSSLCACertificateFile(String SSLCACertificateFile)(Code)



setSSLCACertificatePath
public void setSSLCACertificatePath(String SSLCACertificatePath)(Code)



setSSLCARevocationFile
public void setSSLCARevocationFile(String SSLCARevocationFile)(Code)



setSSLCARevocationPath
public void setSSLCARevocationPath(String SSLCARevocationPath)(Code)



setSSLCertificateChainFile
public void setSSLCertificateChainFile(String SSLCertificateChainFile)(Code)



setSSLCertificateFile
public void setSSLCertificateFile(String SSLCertificateFile)(Code)



setSSLCertificateKeyFile
public void setSSLCertificateKeyFile(String SSLCertificateKeyFile)(Code)



setSSLCipherSuite
public void setSSLCipherSuite(String SSLCipherSuite)(Code)



setSSLEnabled
public void setSSLEnabled(boolean SSLEnabled)(Code)



setSSLPassword
public void setSSLPassword(String SSLPassword)(Code)



setSSLProtocol
public void setSSLProtocol(String SSLProtocol)(Code)



setSSLVerifyClient
public void setSSLVerifyClient(String SSLVerifyClient)(Code)



setSSLVerifyDepth
public void setSSLVerifyDepth(int SSLVerifyDepth)(Code)



setSendfileSize
public void setSendfileSize(int sendfileSize)(Code)



setSendfileThreadCount
public void setSendfileThreadCount(int sendfileThreadCount)(Code)



setSoLinger
public void setSoLinger(int soLinger)(Code)



setSoTimeout
public void setSoTimeout(int soTimeout)(Code)



setSocketOptions
protected boolean setSocketOptions(long socket)(Code)
Process the specified connection.



setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)(Code)



setThreadPriority
public void setThreadPriority(int threadPriority)(Code)



setUseComet
public void setUseComet(boolean useComet)(Code)



setUseSendfile
public void setUseSendfile(boolean useSendfile)(Code)



start
public void start() throws Exception(Code)
Start the APR endpoint, creating acceptor, poller and sendfile threads.



stop
public void stop()(Code)
Stop the endpoint. This will cause all processing threads to stop.



unlockAccept
protected void unlockAccept()(Code)
Unlock the server socket accept using a bugus connection.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.