All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-transportedit.html Maven / Gradle / Ivy

There is a newer version: 3.2-b03
Show newest version



To Edit a Transport

  1. In the navigation tree, expand the Configuration node.
  2. Under the Configuration node, expand the Network Config node.
  3. Under the Network Config node, select the Transports node.

    The Transports page opens.

  4. On the Transports page, click the name of the transport that you are editing.

    The Edit Transport page opens.

  5. In the Classname field, type the class name of the transport implementation.

    The default value is com.sun.grizzly.TCPSelectorHandler.

  6. In the Selection Key Handler field, type the class name of the selection key handler.

    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.

  7. From the Byte Buffer Type drop-down list, select the type of ByteBuffer to be used.

    Available choices are HEAP and DIRECT. The default value is HEAP.

  8. In the Acceptor Threads field, type 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.

  9. In the Max Connections Count field, type the maximum number of pending connections on a network listener that uses this transport.

    The default value is 4096.

  10. In the Buffer Size field, type 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.

  11. In the Idle Key Timeout field, type the number of seconds after which an idle key will be cancelled and the channel closed.

    The default value is 30.

  12. In the Read Timeout field, type the number of milliseconds the Enterprise Serverwaits during the header and body parsing phase of a read operation.

    The default value is 30,000.

  13. In the Selector Poll Timeout field, type the number of milliseconds a NIO Selector will block waiting for events (users' requests).

    The default value is 1000.

  14. In the Write Timeout field, type the number of milliseconds the Enterprise Serverwaits before considering the remote client disconnected when writing the response.

    The default value is 30,000.

  15. Select the Display Configuration Enabled checkbox to flush Grizzly's internal configuration to the server logs.

    This option may provide useful information for debugging. This option is disabled by default.

  16. Select the Snoop Enabled checkbox to dump the requests/response information to the server log.

    This option may provide useful information for debugging, but will significantly reduce performance. This option is disabled by default.

  17. Select the TCP No Delay checkbox to enable TCP_NODELAY (also calledNagle's algorithm).

    This option is enabled by default.

  18. Click Save.

    Tip - To return to the default settings, click the Load Defaults button, then click Save.


See Also




© 2015 - 2024 Weber Informatics LLC | Privacy Policy