Java Doc for AdvancedSettings.java in  » Net » QuickServer » org » quickserver » util » xmlreader » 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 » Net » QuickServer » org.quickserver.util.xmlreader 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.quickserver.util.xmlreader.AdvancedSettings

AdvancedSettings
public class AdvancedSettings implements java.io.Serializable(Code)
This class encapsulate Advanced Settings. The example xml is
 ....
 <advanced-settings>
 <charset>ISO-8859-1<charset>
 <byte-buffer-size>61440<byte-buffer-size>
 <use-direct-byte-buffer>true</use-direct-byte-buffer>
 <backlog>1024</backlog>		
 <socket-linger>-1</socket-linger>
 <debug-non-blocking-mode>false</debug-non-blocking-mode> 
 </advanced-settings>
 ....
 

author:
   Akshathkumar Shetty
since:
   1.4.5




Method Summary
public  intgetBacklog()
     Returns the listen backlog length for the QuickServer.
public  intgetByteBufferSize()
     Returns ByteBuffer size to be used in ByteBuffer pool.
public  StringgetCharset()
     Returns Charset to be used for String decoding and encoding..
public  StringgetClientIdentifier()
     Returns the ClientIdentifier class that that implements org.quickserver.net.server.ClientIdentifier .
public  booleangetDebugNonBlockingMode()
     Returns DebugNonBlockingMode flag.
public  intgetMaxThreadsForNioWrite()
     Returns the maximum threads allowed for nio write.
public  StringgetQSObjectPoolMaker()
     Returns the QSObjectPoolMaker class that implements org.quickserver.util.pool.QSObjectPoolMaker .
public  intgetSocketLinger()
     Returns linger time in seconds.
public  booleangetUseDirectByteBuffer()
     Returns UseDirectByteBuffer flag.
public  voidsetBacklog(int backlog)
     Sets the listen backlog length for the QuickServer to listen on.
public  voidsetByteBufferSize(int byteBufferSize)
     Sets the ByteBuffer size to be used in ByteBuffer pool.
public  voidsetCharset(String charset)
     Sets the Charset to be used for String decoding and encoding.
public  voidsetClientIdentifier(String clientIdentifierClass)
     Sets the ClientIdentifier class that implements org.quickserver.net.server.ClientIdentifier .
public  voidsetDebugNonBlockingMode(boolean debugNonBlockingMode)
     Sets the DebugNonBlockingMode flag.
public  voidsetMaxThreadsForNioWrite(int maxThreadsForNioWrite)
     Sets the maximum threads allowed for nio write.
public  voidsetQSObjectPoolMaker(String qSObjectPoolMakerClass)
     Sets the QSObjectPoolMaker class that implements org.quickserver.util.pool.QSObjectPoolMaker .
public  voidsetSocketLinger(int socketLinger)
     Enable SO_LINGER with the specified linger time in seconds.
public  voidsetUseDirectByteBuffer(boolean flag)
     Sets the UseDirectByteBuffer flag.
public  StringtoXML(String pad)
     Returns XML config of this class.



Method Detail
getBacklog
public int getBacklog()(Code)
Returns the listen backlog length for the QuickServer.
See Also:   AdvancedSettings.setBacklog



getByteBufferSize
public int getByteBufferSize()(Code)
Returns ByteBuffer size to be used in ByteBuffer pool.
See Also:   AdvancedSettings.setByteBufferSize



getCharset
public String getCharset()(Code)
Returns Charset to be used for String decoding and encoding..
See Also:   AdvancedSettings.setCharset



getClientIdentifier
public String getClientIdentifier()(Code)
Returns the ClientIdentifier class that that implements org.quickserver.net.server.ClientIdentifier .
See Also:   AdvancedSettings.setClientIdentifier



getDebugNonBlockingMode
public boolean getDebugNonBlockingMode()(Code)
Returns DebugNonBlockingMode flag.
See Also:   AdvancedSettings.setDebugNonBlockingMode



getMaxThreadsForNioWrite
public int getMaxThreadsForNioWrite()(Code)
Returns the maximum threads allowed for nio write.
See Also:   AdvancedSettings.setMaxThreadsForNioWrite
since:
   1.4.6



getQSObjectPoolMaker
public String getQSObjectPoolMaker()(Code)
Returns the QSObjectPoolMaker class that implements org.quickserver.util.pool.QSObjectPoolMaker .
See Also:   AdvancedSettings.setQSObjectPoolMaker



getSocketLinger
public int getSocketLinger()(Code)
Returns linger time in seconds. If SO_LINGER is disabled time will be negative;
See Also:   AdvancedSettings.setSocketLinger



getUseDirectByteBuffer
public boolean getUseDirectByteBuffer()(Code)
Returns UseDirectByteBuffer flag.
See Also:   AdvancedSettings.setUseDirectByteBuffer



setBacklog
public void setBacklog(int backlog)(Code)
Sets the listen backlog length for the QuickServer to listen on. If not set or set a value equal or less than 0, then the default value will be assumed.
XML Tag: <backlog>0</backlog>
Parameters:
  backlog - The listen backlog length.
See Also:   AdvancedSettings.getBacklog



setByteBufferSize
public void setByteBufferSize(int byteBufferSize)(Code)
Sets the ByteBuffer size to be used in ByteBuffer pool. XML Tag: <byte-buffer-size>65536</byte-buffer-size>
Parameters:
  byteBufferSize - size to be used in ByteBuffer pool.
See Also:   AdvancedSettings.getByteBufferSize



setCharset
public void setCharset(String charset)(Code)
Sets the Charset to be used for String decoding and encoding. XML Tag: <charset>ISO-8859-1</charset>
Parameters:
  charset - to be used for String decoding and encoding
See Also:   AdvancedSettings.getCharset



setClientIdentifier
public void setClientIdentifier(String clientIdentifierClass)(Code)
Sets the ClientIdentifier class that implements org.quickserver.net.server.ClientIdentifier . XML Tag: <client-identifier>org.quickserver.net.server.impl.TryClientIdentifier</client-identifier>
Parameters:
  clientIdentifierClass - the fully qualified name of the class that implements org.quickserver.net.server.ClientIdentifier.
See Also:   AdvancedSettings.getClientIdentifier



setDebugNonBlockingMode
public void setDebugNonBlockingMode(boolean debugNonBlockingMode)(Code)
Sets the DebugNonBlockingMode flag. If not set, it will use false
XML Tag: <debug-non-blocking-mode>false</debug-non-blocking-mode>
Parameters:
  debugNonBlockingMode - DebugNonBlockingMode flag.
See Also:   AdvancedSettings.getDebugNonBlockingMode



setMaxThreadsForNioWrite
public void setMaxThreadsForNioWrite(int maxThreadsForNioWrite)(Code)
Sets the maximum threads allowed for nio write. If set to 0 or less no limit is imposed. XML Tag: <max-threads-for-nio-write>10</max-threads-for-nio-write>
Parameters:
  maxThreadsForNioWrite - maximum threads allowed for nio write
See Also:   AdvancedSettings.getMaxThreadsForNioWrite
since:
   1.4.6



setQSObjectPoolMaker
public void setQSObjectPoolMaker(String qSObjectPoolMakerClass)(Code)
Sets the QSObjectPoolMaker class that implements org.quickserver.util.pool.QSObjectPoolMaker . XML Tag: <qsobject-pool-maker>org.quickserver.util.pool.MakeQSObjectPool</qsobject-pool-maker>
Parameters:
  qSObjectPoolMakerClass - the fully qualified name of the class that implements org.quickserver.util.pool.QSObjectPoolMaker.
See Also:   AdvancedSettings.getQSObjectPoolMaker



setSocketLinger
public void setSocketLinger(int socketLinger)(Code)
Enable SO_LINGER with the specified linger time in seconds. If linger time is less than 0 SO_LINGER will be disable. XML Tag: <socket-linger>-1</socket-linger>
Parameters:
  socketLinger - if the linger value is negative SO_LINGER will be disable.
See Also:   AdvancedSettings.getSocketLinger



setUseDirectByteBuffer
public void setUseDirectByteBuffer(boolean flag)(Code)
Sets the UseDirectByteBuffer flag. If not set, it will use true
XML Tag: <use-direct-byte-buffer>true</use-direct-byte-buffer>
Parameters:
  flag - UseDirectByteBuffer flag.
See Also:   AdvancedSettings.getUseDirectByteBuffer



toXML
public String toXML(String pad)(Code)
Returns XML config of this class.



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.