The following table describes attributes for the transport element.
Table 1–173 transport Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the transport. |
com.sun.grizzly.TCPSelectorHandler |
(Optional) Specifies the class name of the transport implementation. |
|
none |
(optional) Specifies the name of the selection-key-handler associated with this transport. |
|
30 |
(Optional) Specifies the idle key timeout. |
|
30000 (30 seconds) |
(optional) Specifies the amount of time the GlassFish Server waits during the header and body parsing phase. |
|
30000 (30 seconds) |
(optional) Specifies the amount of time the GlassFish Server waits before considering the remote client disconnected when writing the response. |
|
1000 (1 second) |
(optional) Specifies the time a NIO Selector blocks waiting for events (user requests). |
|
false |
(optional) If true, flushes the internal network configuration to the server log. Useful for debugging, but reduces performance. |
|
false |
(optional) If true, writes request/response information to the server log. Useful for debugging, but reduces performance. |
|
false |
(optional) If true, enables TCP_NODELAY (also called Nagle's algorithm). |
|
4096 |
(optional) Specifies the maximum number of pending connections on a network-listener that references this transport. |
|
1 |
(optional) Specifies the number of processors in the machine. To set the number of request processing threads, use the max-thread-pool-size attribute of the thread-poolelement. |
|
HEAP |
(optional) Specifies the type of the buffer to be provided for input streams created by a network-listener. Allowed values are HEAP and DIRECT. |
|
8192 |
(optional) Specifies the size, in bytes, of the buffer to be provided for input streams created by a network-listener. |