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
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)
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)
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