Java Doc for SocketProperties.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.SocketProperties

SocketProperties
public class SocketProperties (Code)
Properties that can be set in the <Connector> element in server.xml. All properties are prefixed with "socket." and are currently only working for the Nio connector
author:
   Filip Hanik


Field Summary
protected  intappReadBufSize
     The application read buffer size in bytes.
protected  intappWriteBufSize
    
protected  intbufferPool
    
protected  intbufferPoolSize
    
protected  booleandirectBuffer
    
protected  inteventCache
     Enable/disable poller event cache, this bounded cache stores PollerEvent objects to reduce GC for the poller Default is 500 -1 is unlimited 0 is disabled >0 the max number of objects to keep in cache.
protected  intkeyCache
    
protected  booleanooBInline
    
protected  intperformanceBandwidth
    
protected  intperformanceConnectionTime
    
protected  intperformanceLatency
    
protected  intprocessorCache
    
protected  intrxBufSize
    
protected  booleansoKeepAlive
    
protected  booleansoLingerOn
    
protected  intsoLingerTime
     SO_LINGER option, default is 25 seconds.
protected  booleansoReuseAddress
    
protected  intsoTimeout
    
protected  intsoTrafficClass
    
protected  booleantcpNoDelay
    
protected  inttxBufSize
    


Method Summary
public  intgetAppReadBufSize()
    
public  intgetAppWriteBufSize()
    
public  intgetBufferPool()
    
public  intgetBufferPoolSize()
    
public  booleangetDirectBuffer()
    
public  intgetDirectBufferPool()
    
public  intgetEventCache()
    
public  intgetKeyCache()
    
public  booleangetOoBInline()
    
public  intgetPerformanceBandwidth()
    
public  intgetPerformanceConnectionTime()
    
public  intgetPerformanceLatency()
    
public  intgetProcessorCache()
    
public  SocketgetProperties()
    
public  intgetRxBufSize()
    
public  booleangetSoKeepAlive()
    
public  booleangetSoLingerOn()
    
public  intgetSoLingerTime()
    
public  booleangetSoReuseAddress()
    
public  intgetSoTimeout()
    
public  intgetSoTrafficClass()
    
public  booleangetTcpNoDelay()
    
public  intgetTxBufSize()
    
public  voidsetAppReadBufSize(int appReadBufSize)
    
public  voidsetAppWriteBufSize(int appWriteBufSize)
    
public  voidsetBufferPool(int bufferPool)
    
public  voidsetBufferPoolSize(int bufferPoolSize)
    
public  voidsetDirectBuffer(boolean directBuffer)
    
public  voidsetDirectBufferPool(int directBufferPool)
    
public  voidsetEventCache(int eventCache)
    
public  voidsetKeyCache(int keyCache)
    
public  voidsetOoBInline(boolean ooBInline)
    
public  voidsetPerformanceBandwidth(int performanceBandwidth)
    
public  voidsetPerformanceConnectionTime(int performanceConnectionTime)
    
public  voidsetPerformanceLatency(int performanceLatency)
    
public  voidsetProcessorCache(int processorCache)
    
public  voidsetProperties(Socket socket)
    
public  voidsetRxBufSize(int rxBufSize)
    
public  voidsetSoKeepAlive(boolean soKeepAlive)
    
public  voidsetSoLingerOn(boolean soLingerOn)
    
public  voidsetSoLingerTime(int soLingerTime)
    
public  voidsetSoReuseAddress(boolean soReuseAddress)
    
public  voidsetSoTimeout(int soTimeout)
    
public  voidsetSoTrafficClass(int soTrafficClass)
    
public  voidsetTcpNoDelay(boolean tcpNoDelay)
    
public  voidsetTxBufSize(int txBufSize)
    

Field Detail
appReadBufSize
protected int appReadBufSize(Code)
The application read buffer size in bytes. Default value is rxBufSize



appWriteBufSize
protected int appWriteBufSize(Code)
The application write buffer size in bytes Default value is txBufSize



bufferPool
protected int bufferPool(Code)
NioChannel pool size for the endpoint, this value is how many channels -1 means unlimited cached, 0 means no cache Default value is 500



bufferPoolSize
protected int bufferPoolSize(Code)
Buffer pool size in bytes to be cached -1 means unlimited, 0 means no cache Default value is 100MB (1024*1024*100 bytes)



directBuffer
protected boolean directBuffer(Code)
Enable/disable direct buffers for the network buffers Default value is enabled



eventCache
protected int eventCache(Code)
Enable/disable poller event cache, this bounded cache stores PollerEvent objects to reduce GC for the poller Default is 500 -1 is unlimited 0 is disabled >0 the max number of objects to keep in cache.



keyCache
protected int keyCache(Code)
Enable/disable key cache, this bounded cache stores KeyAttachment objects to reduce GC Default is 500 -1 is unlimited 0 is disabled



ooBInline
protected boolean ooBInline(Code)
OOBINLINE option, default is true



performanceBandwidth
protected int performanceBandwidth(Code)
Performance preferences according to http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) Default value is 1



performanceConnectionTime
protected int performanceConnectionTime(Code)
Performance preferences according to http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) Default value is 1



performanceLatency
protected int performanceLatency(Code)
Performance preferences according to http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int) Default value is 0



processorCache
protected int processorCache(Code)
Enable/disable socket processor cache, this bounded cache stores SocketProcessor objects to reduce GC Default is 500 -1 is unlimited 0 is disabled



rxBufSize
protected int rxBufSize(Code)
Socket receive buffer size in bytes (SO_RCVBUF) Default value is 25188



soKeepAlive
protected boolean soKeepAlive(Code)
SO_KEEPALIVE option, default is false



soLingerOn
protected boolean soLingerOn(Code)
SO_LINGER option, default is true, paired with the soLingerTime value



soLingerTime
protected int soLingerTime(Code)
SO_LINGER option, default is 25 seconds.



soReuseAddress
protected boolean soReuseAddress(Code)
SO_REUSEADDR option, default is true



soTimeout
protected int soTimeout(Code)
SO_TIMEOUT option, default is 5000 milliseconds



soTrafficClass
protected int soTrafficClass(Code)
Traffic class option, value between 0 and 255 IPTOS_LOWCOST (0x02) IPTOS_RELIABILITY (0x04) IPTOS_THROUGHPUT (0x08) IPTOS_LOWDELAY (0x10) Default value is 0x04 | 0x08 | 0x010



tcpNoDelay
protected boolean tcpNoDelay(Code)
TCP_NO_DELAY option, default is true



txBufSize
protected int txBufSize(Code)
Socket send buffer size in bytes (SO_SNDBUF) Default value is 43800





Method Detail
getAppReadBufSize
public int getAppReadBufSize()(Code)



getAppWriteBufSize
public int getAppWriteBufSize()(Code)



getBufferPool
public int getBufferPool()(Code)



getBufferPoolSize
public int getBufferPoolSize()(Code)



getDirectBuffer
public boolean getDirectBuffer()(Code)



getDirectBufferPool
public int getDirectBufferPool()(Code)



getEventCache
public int getEventCache()(Code)



getKeyCache
public int getKeyCache()(Code)



getOoBInline
public boolean getOoBInline()(Code)



getPerformanceBandwidth
public int getPerformanceBandwidth()(Code)



getPerformanceConnectionTime
public int getPerformanceConnectionTime()(Code)



getPerformanceLatency
public int getPerformanceLatency()(Code)



getProcessorCache
public int getProcessorCache()(Code)



getProperties
public Socket getProperties()(Code)



getRxBufSize
public int getRxBufSize()(Code)



getSoKeepAlive
public boolean getSoKeepAlive()(Code)



getSoLingerOn
public boolean getSoLingerOn()(Code)



getSoLingerTime
public int getSoLingerTime()(Code)



getSoReuseAddress
public boolean getSoReuseAddress()(Code)



getSoTimeout
public int getSoTimeout()(Code)



getSoTrafficClass
public int getSoTrafficClass()(Code)



getTcpNoDelay
public boolean getTcpNoDelay()(Code)



getTxBufSize
public int getTxBufSize()(Code)



setAppReadBufSize
public void setAppReadBufSize(int appReadBufSize)(Code)



setAppWriteBufSize
public void setAppWriteBufSize(int appWriteBufSize)(Code)



setBufferPool
public void setBufferPool(int bufferPool)(Code)



setBufferPoolSize
public void setBufferPoolSize(int bufferPoolSize)(Code)



setDirectBuffer
public void setDirectBuffer(boolean directBuffer)(Code)



setDirectBufferPool
public void setDirectBufferPool(int directBufferPool)(Code)



setEventCache
public void setEventCache(int eventCache)(Code)



setKeyCache
public void setKeyCache(int keyCache)(Code)



setOoBInline
public void setOoBInline(boolean ooBInline)(Code)



setPerformanceBandwidth
public void setPerformanceBandwidth(int performanceBandwidth)(Code)



setPerformanceConnectionTime
public void setPerformanceConnectionTime(int performanceConnectionTime)(Code)



setPerformanceLatency
public void setPerformanceLatency(int performanceLatency)(Code)



setProcessorCache
public void setProcessorCache(int processorCache)(Code)



setProperties
public void setProperties(Socket socket) throws SocketException(Code)



setRxBufSize
public void setRxBufSize(int rxBufSize)(Code)



setSoKeepAlive
public void setSoKeepAlive(boolean soKeepAlive)(Code)



setSoLingerOn
public void setSoLingerOn(boolean soLingerOn)(Code)



setSoLingerTime
public void setSoLingerTime(int soLingerTime)(Code)



setSoReuseAddress
public void setSoReuseAddress(boolean soReuseAddress)(Code)



setSoTimeout
public void setSoTimeout(int soTimeout)(Code)



setSoTrafficClass
public void setSoTrafficClass(int soTrafficClass)(Code)



setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)(Code)



setTxBufSize
public void setTxBufSize(int txBufSize)(Code)



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.