Use the Edit Transport page to modify the settings of an existing transport.
The Edit Transport page contains the following options.
Button to restore the default values of all the settings.
The name of the configuration to which the settings on this page apply. This field is read only.
The name of the transport. The name is a read-only field. You can only specify a name when you create a new transport.
The class name of the transport implementation. The default value is com.sun.grizzly.TCPSelectorHandler.
The class name of the selection key handler. A selection key handler is an abstract class that manages the lifecycle of selection keys. If you do not specify a value, a default implementation is used.
The type of ByteBuffer to be used. Available choices are HEAP and DIRECT. The default value is HEAP.
The number of processors in the machine. A value of –1 indicates that Grizzly will calculate the number of acceptor threads itself, based on the number of processors in the machine. The default value is 1.
To set the number of request processing threads, set the Max Thread Pool Size value of the thread pool used by a network listener that uses this transport.
The maximum number of pending connections on a network listener that uses this transport. The default value is 4096.
The size, in bytes, of the buffer to be provided for input streams created by a network listener that uses this transport. The default value is 8192.
The number of seconds after which an idle key will be cancelled and the channel closed. The default value is 30.
The number of milliseconds the GlassFish Serverwaits during the header and body parsing phase of a read operation. The default value is 30,000.
The number of milliseconds an NIO Selector will block waiting for events (users' requests). The default value is 1000.
The number of milliseconds the GlassFish Serverwaits before considering the remote client disconnected when writing the response. The default value is 30,000.
If this option is selected, Grizzly's internal configuration is flushed to the server logs. This option may provide useful information for debugging. This option is disabled by default.
If this option is selected, the requests/response information is dumped to the server log. This option may provide useful information for debugging, but will significantly reduce performance. This option is disabled by default.
If this option is selected, TCP_NODELAY (also called Nagle's algorithm) is enabled. This option is enabled by default.