| Modifier and Type | Field and Description |
|---|---|
| public static final Option | ALLOW_BLOCKING
Enable or disable blocking I/O for a newly created channel thread. |
| public static final Option | BACKLOG
Configure a server with the specified backlog. |
| public static final Option | BALANCING_CONNECTIONS
The number of connections to create per connection-balancing token, if connection-balancing is enabled. |
| public static final Option | BALANCING_TOKENS
The number of balancing tokens, if connection-balancing is enabled. |
| public static final Option | BROADCAST
Enable broadcast support for IP datagram sockets. |
| public static final Option | CLOSE_ABORT
Configure a TCP socket to send an |
| public static final Option | COMPRESSION_LEVEL
The compression level to apply for compressing streams and channels. |
| public static final Option | COMPRESSION_TYPE
The compression type to apply for compressing streams and channels. |
| public static final Option | CONNECTION_HIGH_WATER
The high water mark for a server's connections. |
| public static final Option | CONNECTION_LOW_WATER
The low water mark for a server's connections. |
| public static final Option | CORK
Specify that output should be buffered. |
| public static final Option | FILE_ACCESS
The file access mode to use when opening a file. |
| public static final Option | FILE_APPEND
A flag which indicates that opened files should be appended to. |
| public static final Option | FILE_CREATE
A flag which indicates that a file should be created if it does not exist ( |
| public static final Option | IP_TRAFFIC_CLASS
Set the IP traffic class/type-of-service for the channel. |
| public static final Option | KEEP_ALIVE
Configure a channel to send TCP keep-alive messages in an implementation-dependent manner. |
| public static final Option | MAX_INBOUND_MESSAGE_SIZE
The maximum inbound message size. |
| public static final Option | MAX_OUTBOUND_MESSAGE_SIZE
The maximum outbound message size. |
| public static final Option | MULTICAST
Enable multicast support for a socket. |
| public static final Option | MULTICAST_TTL
Set the multicast time-to-live field for datagram sockets. |
| public static final Option | READ_TIMEOUT
Configure a read timeout for a socket, in milliseconds. |
| public static final Option | RECEIVE_BUFFER
The receive buffer size. |
| public static final Option | REUSE_ADDRESSES
Configure an IP socket to reuse addresses. |
| public static final Option | SASL_DISALLOWED_MECHANISMS
A list of disallowed SASL mechanisms. |
| public static final Option | SASL_MECHANISMS
A list of SASL mechanisms, in decreasing order of preference. |
| public static final Option | SASL_POLICY_FORWARD_SECRECY
Specify whether SASL mechanisms which implement forward secrecy between sessions are required. |
| public static final Option | SASL_POLICY_NOACTIVE
Specify whether SASL mechanisms which are susceptible to active (non-dictionary) attacks are permitted. |
| public static final Option | SASL_POLICY_NOANONYMOUS
Specify whether SASL mechanisms which accept anonymous logins are permitted. |
| public static final Option | SASL_POLICY_NODICTIONARY
Specify whether SASL mechanisms which are susceptible to passive dictionary attacks are permitted. |
| public static final Option | SASL_POLICY_NOPLAINTEXT
Specify whether SASL mechanisms which are susceptible to simple plain passive attacks are permitted. |
| public static final Option | SASL_POLICY_PASS_CREDENTIALS
Specify whether SASL mechanisms which pass client credentials are required. |
| public static final Option | SASL_PROPERTIES
A list of provider specific SASL properties. |
| public static final Option | SASL_QOP
Specify the SASL quality-of-protection to use. |
| public static final Option | SASL_REUSE
Specify whether SASL mechanisms should attempt to reuse authenticated session information. |
| public static final Option | SASL_SERVER_AUTH
Specify whether the SASL server must authenticate to the client. |
| public static final Option | SASL_STRENGTH
Specify the SASL cipher strength to use. |
| public static final Option | SECURE
Determine whether the channel is encrypted, or employs some other level of security. |
| public static final Option | SEND_BUFFER
The send buffer size. |
| public static final Option | SPLIT_READ_WRITE_THREADS
Specify whether read and write operations should be split among separate threads. |
| public static final Option | SSL_APPLICATION_BUFFER_REGION_SIZE
The size of the allocation region to use for SSL application buffers. |
| public static final Option | SSL_APPLICATION_BUFFER_SIZE
The application buffer size for SSL. |
| public static final Option | SSL_CLIENT_AUTH_MODE
Specify the SSL client authentication mode. |
| public static final Option | SSL_CLIENT_SESSION_CACHE_SIZE
The size of the SSL client session cache. |
| public static final Option | SSL_CLIENT_SESSION_TIMEOUT
The SSL client session timeout (in seconds). |
| public static final Option | SSL_ENABLE_SESSION_CREATION
Enable or disable session creation for an SSL connection. |
| public static final Option | SSL_ENABLED
Specify whether SSL should be enabled. |
| public static final Option | SSL_ENABLED_CIPHER_SUITES
Specify the cipher suites for an SSL/TLS session. |
| public static final Option | SSL_ENABLED_PROTOCOLS
Specify the enabled protocols for an SSL/TLS session. |
| public static final Option | SSL_JSSE_KEY_MANAGER_CLASSES
The possible key manager classes to use for a JSSE SSL context. |
| public static final Option | SSL_JSSE_TRUST_MANAGER_CLASSES
The possible trust store classes to use for a JSSE SSL context. |
| public static final Option | SSL_NON_BLOCKING_KEY_MANAGER
Hint to the SSL engine that the key manager implementation(s) is/are non-blocking, so they can be executed in the I/O thread, possibly improving performance by decreasing latency. |
| public static final Option | SSL_NON_BLOCKING_TRUST_MANAGER
Hint to the SSL engine that the trust manager implementation(s) is/are non-blocking, so they can be executed in the I/O thread, possibly improving performance by decreasing latency. |
| public static final Option | SSL_PACKET_BUFFER_REGION_SIZE
The size of the allocation region to use for SSL packet buffers. |
| public static final Option | SSL_PACKET_BUFFER_SIZE
The packet buffer size for SSL. |
| public static final Option | SSL_PEER_HOST_NAME
Specify the (non-authoritative) name of the peer host to use for the purposes of session reuse, as well as for the use of certain cipher suites (such as Kerberos). |
| public static final Option | SSL_PEER_PORT
Specify the (non-authoritative) port number of the peer port number to use for the purposes of session reuse, as well as for the use of certain cipher suites. |
| public static final Option | SSL_PROTOCOL
Specify the protocol name for an SSL context. |
| public static final Option | SSL_PROVIDER
Specify the requested provider for an SSL/TLS session. |
| public static final Option | SSL_RNG_OPTIONS
The configuration of a secure RNG for SSL usage. |
| public static final Option | SSL_SERVER_SESSION_CACHE_SIZE
The size of the SSL server session cache. |
| public static final Option | SSL_SERVER_SESSION_TIMEOUT
The SSL server session timeout (in seconds). |
| public static final Option | SSL_STARTTLS
Specify whether to use STARTTLS mode (in which a connection starts clear and switches to TLS on demand). |
| public static final Option | SSL_SUPPORTED_CIPHER_SUITES
Get the supported cipher suites for an SSL/TLS session. |
| public static final Option | SSL_SUPPORTED_PROTOCOLS
Get the supported protocols for an SSL/TLS session. |
| public static final Option | SSL_USE_CLIENT_MODE
Specify whether SSL conversations should be in client or server mode. |
| public static final Option | STACK_SIZE
The stack size (in bytes) to attempt to use for worker threads. |
| public static final Option | TCP_NODELAY
Configure a TCP socket to disable Nagle's algorithm. |
| public static final Option | TCP_OOB_INLINE
Configure a TCP socket to receive out-of-band data alongside regular data. |
| public static final Option | THREAD_DAEMON
Specify whether worker threads should be daemon threads. |
| public static final Option | THREAD_PRIORITY
The thread priority for newly created worker threads. |
| public static final Option | USE_DIRECT_BUFFERS
Specify whether direct buffers should be used for socket communications. |
| public static final Option | WATCHER_POLL_INTERVAL
The poll interval for poll based file system watchers. |
| public static final Option | WORKER_ACCEPT_THREADS
Deprecated
This option is now ignored.
Specify the number of accept threads a single socket server should have.
|
| public static final Option | WORKER_ESTABLISH_WRITING
Specify whether a server, acceptor, or connector should be attached to write threads. |
| public static final Option | WORKER_IO_THREADS
Specify the number of I/O threads to create for the worker. |
| public static final Option | WORKER_NAME
The name to use for a newly created worker. |
| public static final Option | WORKER_READ_THREADS
Specify the number of I/O threads to devote to reading for split thread channels. |
| public static final Option | WORKER_TASK_CORE_THREADS
Specify the number of "core" threads for the worker task thread pool. |
| public static final Option | WORKER_TASK_KEEPALIVE
Specify the number of milliseconds to keep non-core task threads alive. |
| public static final Option | WORKER_TASK_LIMIT
Specify the maximum number of worker tasks to allow before rejecting. |
| public static final Option | WORKER_TASK_MAX_THREADS
Specify the maximum number of threads for the worker task thread pool. |
| public static final Option | WORKER_WRITE_THREADS
Specify the number of I/O threads to devote to writing for split thread channels. |
| public static final Option | WRITE_TIMEOUT
Configure a write timeout for a socket, in milliseconds. |
| Access | Constructor and Description |
|---|---|
| private |
| ALLOW_BLOCKING | back to summary |
|---|---|
| public static final Option<Boolean> ALLOW_BLOCKING Enable or disable blocking I/O for a newly created channel thread. | |
| BACKLOG | back to summary |
|---|---|
| public static final Option<Integer> BACKLOG Configure a server with the specified backlog. The value type for this option is | |
| BALANCING_CONNECTIONS | back to summary |
|---|---|
| public static final Option<Integer> BALANCING_CONNECTIONS The number of connections to create per connection-balancing token, if connection-balancing is enabled. | |
| BALANCING_TOKENS | back to summary |
|---|---|
| public static final Option<Integer> BALANCING_TOKENS The number of balancing tokens, if connection-balancing is enabled. Must be less than the number of I/O threads, or 0 to disable balancing and just accept opportunistically. | |
| BROADCAST | back to summary |
|---|---|
| public static final Option<Boolean> BROADCAST Enable broadcast support for IP datagram sockets. The value type for this option is | |
| CLOSE_ABORT | back to summary |
|---|---|
| public static final Option<Boolean> CLOSE_ABORT Configure a TCP socket to send an | |
| COMPRESSION_LEVEL | back to summary |
|---|---|
| public static final Option<Integer> COMPRESSION_LEVEL The compression level to apply for compressing streams and channels. | |
| COMPRESSION_TYPE | back to summary |
|---|---|
| public static final Option<CompressionType> COMPRESSION_TYPE The compression type to apply for compressing streams and channels. | |
| CONNECTION_HIGH_WATER | back to summary |
|---|---|
| public static final Option<Integer> CONNECTION_HIGH_WATER The high water mark for a server's connections. Once this number of connections have been accepted, accepts will be suspended for that server. | |
| CONNECTION_LOW_WATER | back to summary |
|---|---|
| public static final Option<Integer> CONNECTION_LOW_WATER The low water mark for a server's connections. Once the number of active connections have dropped below this number, accepts can be resumed for that server. | |
| CORK | back to summary |
|---|---|
| public static final Option<Boolean> CORK Specify that output should be buffered. The exact behavior of the buffering is not specified; it may flush based
on buffered size or time. An explicit | |
| FILE_ACCESS | back to summary |
|---|---|
| public static final Option<FileAccess> FILE_ACCESS The file access mode to use when opening a file. | |
| FILE_APPEND | back to summary |
|---|---|
| public static final Option<Boolean> FILE_APPEND A flag which indicates that opened files should be appended to. Some platforms do not support both append and
| |
| FILE_CREATE | back to summary |
|---|---|
| public static final Option<Boolean> FILE_CREATE A flag which indicates that a file should be created if it does not exist ( | |
| IP_TRAFFIC_CLASS | back to summary |
|---|---|
| public static final Option<Integer> IP_TRAFFIC_CLASS Set the IP traffic class/type-of-service for the channel. The value type for this option is | |
| KEEP_ALIVE | back to summary |
|---|---|
| public static final Option<Boolean> KEEP_ALIVE Configure a channel to send TCP keep-alive messages in an implementation-dependent manner. The value type for
this option is | |
| MAX_INBOUND_MESSAGE_SIZE | back to summary |
|---|---|
| public static final Option<Integer> MAX_INBOUND_MESSAGE_SIZE The maximum inbound message size.
| |
| MAX_OUTBOUND_MESSAGE_SIZE | back to summary |
|---|---|
| public static final Option<Integer> MAX_OUTBOUND_MESSAGE_SIZE The maximum outbound message size.
| |
| MULTICAST | back to summary |
|---|---|
| public static final Option<Boolean> MULTICAST Enable multicast support for a socket. The value type for this option is | |
| MULTICAST_TTL | back to summary |
|---|---|
| public static final Option<Integer> MULTICAST_TTL Set the multicast time-to-live field for datagram sockets. The value type for this option is | |
| READ_TIMEOUT | back to summary |
|---|---|
| public static final Option<Integer> READ_TIMEOUT Configure a read timeout for a socket, in milliseconds. If the given amount of time elapses without
a successful read taking place, the socket's next read will throw a | |
| RECEIVE_BUFFER | back to summary |
|---|---|
| public static final Option<Integer> RECEIVE_BUFFER The receive buffer size. The value type for this option is | |
| REUSE_ADDRESSES | back to summary |
|---|---|
| public static final Option<Boolean> REUSE_ADDRESSES Configure an IP socket to reuse addresses. The value type for this option is | |
| SASL_DISALLOWED_MECHANISMS | back to summary |
|---|---|
| public static final Option<Sequence<String>> SASL_DISALLOWED_MECHANISMS A list of disallowed SASL mechanisms. | |
| SASL_MECHANISMS | back to summary |
|---|---|
| public static final Option<Sequence<String>> SASL_MECHANISMS A list of SASL mechanisms, in decreasing order of preference. | |
| SASL_POLICY_FORWARD_SECRECY | back to summary |
|---|---|
| public static final Option<Boolean> SASL_POLICY_FORWARD_SECRECY Specify whether SASL mechanisms which implement forward secrecy between sessions are required.
| |
| SASL_POLICY_NOACTIVE | back to summary |
|---|---|
| public static final Option<Boolean> SASL_POLICY_NOACTIVE Specify whether SASL mechanisms which are susceptible to active (non-dictionary) attacks are permitted.
| |
| SASL_POLICY_NOANONYMOUS | back to summary |
|---|---|
| public static final Option<Boolean> SASL_POLICY_NOANONYMOUS Specify whether SASL mechanisms which accept anonymous logins are permitted.
| |
| SASL_POLICY_NODICTIONARY | back to summary |
|---|---|
| public static final Option<Boolean> SASL_POLICY_NODICTIONARY Specify whether SASL mechanisms which are susceptible to passive dictionary attacks are permitted.
| |
| SASL_POLICY_NOPLAINTEXT | back to summary |
|---|---|
| public static final Option<Boolean> SASL_POLICY_NOPLAINTEXT Specify whether SASL mechanisms which are susceptible to simple plain passive attacks are permitted.
| |
| SASL_POLICY_PASS_CREDENTIALS | back to summary |
|---|---|
| public static final Option<Boolean> SASL_POLICY_PASS_CREDENTIALS Specify whether SASL mechanisms which pass client credentials are required.
| |
| SASL_PROPERTIES | back to summary |
|---|---|
| public static final Option<Sequence<Property>> SASL_PROPERTIES A list of provider specific SASL properties. | |
| SASL_QOP | back to summary |
|---|---|
| public static final Option<Sequence<SaslQop>> SASL_QOP Specify the SASL quality-of-protection to use.
| |
| SASL_REUSE | back to summary |
|---|---|
| public static final Option<Boolean> SASL_REUSE Specify whether SASL mechanisms should attempt to reuse authenticated session information.
| |
| SASL_SERVER_AUTH | back to summary |
|---|---|
| public static final Option<Boolean> SASL_SERVER_AUTH Specify whether the SASL server must authenticate to the client.
| |
| SASL_STRENGTH | back to summary |
|---|---|
| public static final Option<SaslStrength> SASL_STRENGTH Specify the SASL cipher strength to use.
| |
| SECURE | back to summary |
|---|---|
| public static final Option<Boolean> SECURE Determine whether the channel is encrypted, or employs some other level of security. The interpretation of this flag is specific to the channel in question; however, whatever the channel type, this flag is generally read-only. | |
| SEND_BUFFER | back to summary |
|---|---|
| public static final Option<Integer> SEND_BUFFER The send buffer size. The value type for this option is | |
| SPLIT_READ_WRITE_THREADS | back to summary |
|---|---|
| public static final Option<Boolean> SPLIT_READ_WRITE_THREADS Specify whether read and write operations should be split among separate threads. If | |
| SSL_APPLICATION_BUFFER_REGION_SIZE | back to summary |
|---|---|
| public static final Option<Integer> SSL_APPLICATION_BUFFER_REGION_SIZE The size of the allocation region to use for SSL application buffers.
| |
| SSL_APPLICATION_BUFFER_SIZE | back to summary |
|---|---|
| public static final Option<Integer> SSL_APPLICATION_BUFFER_SIZE The application buffer size for SSL.
| |
| SSL_CLIENT_AUTH_MODE | back to summary |
|---|---|
| public static final Option<SslClientAuthMode> SSL_CLIENT_AUTH_MODE Specify the SSL client authentication mode.
| |
| SSL_CLIENT_SESSION_CACHE_SIZE | back to summary |
|---|---|
| public static final Option<Integer> SSL_CLIENT_SESSION_CACHE_SIZE The size of the SSL client session cache.
| |
| SSL_CLIENT_SESSION_TIMEOUT | back to summary |
|---|---|
| public static final Option<Integer> SSL_CLIENT_SESSION_TIMEOUT The SSL client session timeout (in seconds).
| |
| SSL_ENABLE_SESSION_CREATION | back to summary |
|---|---|
| public static final Option<Boolean> SSL_ENABLE_SESSION_CREATION Enable or disable session creation for an SSL connection. Defaults to
| |
| SSL_ENABLED | back to summary |
|---|---|
| public static final Option<Boolean> SSL_ENABLED Specify whether SSL should be enabled. If specified in conjunction with
| |
| SSL_ENABLED_CIPHER_SUITES | back to summary |
|---|---|
| public static final Option<Sequence<String>> SSL_ENABLED_CIPHER_SUITES Specify the cipher suites for an SSL/TLS session. If a listed cipher suites is not supported, it is ignored; however, if you specify a list of cipher suites, none of which are supported, an exception will be thrown.
| |
| SSL_ENABLED_PROTOCOLS | back to summary |
|---|---|
| public static final Option<Sequence<String>> SSL_ENABLED_PROTOCOLS Specify the enabled protocols for an SSL/TLS session. If a listed protocol is not supported, it is ignored; however, if you specify a list of protocols, none of which are supported, an exception will be thrown.
| |
| SSL_JSSE_KEY_MANAGER_CLASSES | back to summary |
|---|---|
| public static final Option<Sequence<Class<? extends KeyManager>>> SSL_JSSE_KEY_MANAGER_CLASSES The possible key manager classes to use for a JSSE SSL context.
| |
| SSL_JSSE_TRUST_MANAGER_CLASSES | back to summary |
|---|---|
| public static final Option<Sequence<Class<? extends TrustManager>>> SSL_JSSE_TRUST_MANAGER_CLASSES The possible trust store classes to use for a JSSE SSL context.
| |
| SSL_NON_BLOCKING_KEY_MANAGER | back to summary |
|---|---|
| public static final Option<Boolean> SSL_NON_BLOCKING_KEY_MANAGER Hint to the SSL engine that the key manager implementation(s) is/are non-blocking, so they can be executed in the I/O thread, possibly improving performance by decreasing latency. | |
| SSL_NON_BLOCKING_TRUST_MANAGER | back to summary |
|---|---|
| public static final Option<Boolean> SSL_NON_BLOCKING_TRUST_MANAGER Hint to the SSL engine that the trust manager implementation(s) is/are non-blocking, so they can be executed in the I/O thread, possibly improving performance by decreasing latency. | |
| SSL_PACKET_BUFFER_REGION_SIZE | back to summary |
|---|---|
| public static final Option<Integer> SSL_PACKET_BUFFER_REGION_SIZE The size of the allocation region to use for SSL packet buffers.
| |
| SSL_PACKET_BUFFER_SIZE | back to summary |
|---|---|
| public static final Option<Integer> SSL_PACKET_BUFFER_SIZE The packet buffer size for SSL.
| |
| SSL_PEER_HOST_NAME | back to summary |
|---|---|
| public static final Option<String> SSL_PEER_HOST_NAME Specify the (non-authoritative) name of the peer host to use for the purposes of session reuse, as well as for the use of certain cipher suites (such as Kerberos). If not given, defaults to the host name of the socket address of the peer. | |
| SSL_PEER_PORT | back to summary |
|---|---|
| public static final Option<Integer> SSL_PEER_PORT Specify the (non-authoritative) port number of the peer port number to use for the purposes of session reuse, as well as for the use of certain cipher suites. If not given, defaults to the port number of the socket address of the peer. | |
| SSL_PROTOCOL | back to summary |
|---|---|
| public static final Option<String> SSL_PROTOCOL Specify the protocol name for an SSL context.
| |
| SSL_PROVIDER | back to summary |
|---|---|
| public static final Option<String> SSL_PROVIDER Specify the requested provider for an SSL/TLS session.
| |
| SSL_RNG_OPTIONS | back to summary |
|---|---|
| public static final Option<OptionMap> SSL_RNG_OPTIONS The configuration of a secure RNG for SSL usage.
| |
| SSL_SERVER_SESSION_CACHE_SIZE | back to summary |
|---|---|
| public static final Option<Integer> SSL_SERVER_SESSION_CACHE_SIZE The size of the SSL server session cache.
| |
| SSL_SERVER_SESSION_TIMEOUT | back to summary |
|---|---|
| public static final Option<Integer> SSL_SERVER_SESSION_TIMEOUT The SSL server session timeout (in seconds).
| |
| SSL_STARTTLS | back to summary |
|---|---|
| public static final Option<Boolean> SSL_STARTTLS Specify whether to use STARTTLS mode (in which a connection starts clear and switches to TLS on demand).
| |
| SSL_SUPPORTED_CIPHER_SUITES | back to summary |
|---|---|
| public static final Option<Sequence<String>> SSL_SUPPORTED_CIPHER_SUITES Get the supported cipher suites for an SSL/TLS session. This option is generally read-only.
| |
| SSL_SUPPORTED_PROTOCOLS | back to summary |
|---|---|
| public static final Option<Sequence<String>> SSL_SUPPORTED_PROTOCOLS Get the supported protocols for an SSL/TLS session. This option is generally read-only.
| |
| SSL_USE_CLIENT_MODE | back to summary |
|---|---|
| public static final Option<Boolean> SSL_USE_CLIENT_MODE Specify whether SSL conversations should be in client or server mode. Defaults to
| |
| STACK_SIZE | back to summary |
|---|---|
| public static final Option<Long> STACK_SIZE The stack size (in bytes) to attempt to use for worker threads. | |
| TCP_NODELAY | back to summary |
|---|---|
| public static final Option<Boolean> TCP_NODELAY Configure a TCP socket to disable Nagle's algorithm. The value type for this option is | |
| TCP_OOB_INLINE | back to summary |
|---|---|
| public static final Option<Boolean> TCP_OOB_INLINE Configure a TCP socket to receive out-of-band data alongside regular data. The value type for this option is
| |
| THREAD_DAEMON | back to summary |
|---|---|
| public static final Option<Boolean> THREAD_DAEMON Specify whether worker threads should be daemon threads. Defaults to | |
| THREAD_PRIORITY | back to summary |
|---|---|
| public static final Option<Integer> THREAD_PRIORITY The thread priority for newly created worker threads. If not specified, the platform default value will be used. | |
| USE_DIRECT_BUFFERS | back to summary |
|---|---|
| public static final Option<Boolean> USE_DIRECT_BUFFERS Specify whether direct buffers should be used for socket communications.
| |
| WATCHER_POLL_INTERVAL | back to summary |
|---|---|
| public static final Option<Integer> WATCHER_POLL_INTERVAL The poll interval for poll based file system watchers. Defaults to 5000ms. Ignored on Java 7 and later. | |
| WORKER_ACCEPT_THREADS | back to summary |
|---|---|
| public static final Option<Integer> WORKER_ACCEPT_THREADS
Deprecated This option is now ignored. All I/O threads are used for accept, except in the case of split read/write
threads, in which case only read or write threads will be used as determined by Specify the number of accept threads a single socket server should have. Specifying more than one can result in spurious wakeups for a socket server under low connection volume, but higher throughput at high connection volume. The minimum value is 1, and the maximum value is equal to the number of available worker threads. | |
| WORKER_ESTABLISH_WRITING | back to summary |
|---|---|
| public static final Option<Boolean> WORKER_ESTABLISH_WRITING Specify whether a server, acceptor, or connector should be attached to write threads. By default, the establishing phase of connections are attached to read threads. Use this option if the client or server writes a message directly upon connect and a split threads configuration is used. | |
| WORKER_IO_THREADS | back to summary |
|---|---|
| public static final Option<Integer> WORKER_IO_THREADS Specify the number of I/O threads to create for the worker. If not specified, a default will be chosen. | |
| WORKER_NAME | back to summary |
|---|---|
| public static final Option<String> WORKER_NAME The name to use for a newly created worker. If not specified, the string "XNIO" will be used. The worker name is used as a part of the thread name for created threads, and for any management constructs. | |
| WORKER_READ_THREADS | back to summary |
|---|---|
| public static final Option<Integer> WORKER_READ_THREADS Specify the number of I/O threads to devote to reading for split thread channels. If not specified, a default will be chosen to be roughly half of the worker I/O threads, or the number of threads not specified for writing. | |
| WORKER_TASK_CORE_THREADS | back to summary |
|---|---|
| public static final Option<Integer> WORKER_TASK_CORE_THREADS Specify the number of "core" threads for the worker task thread pool. | |
| WORKER_TASK_KEEPALIVE | back to summary |
|---|---|
| public static final Option<Integer> WORKER_TASK_KEEPALIVE Specify the number of milliseconds to keep non-core task threads alive. | |
| WORKER_TASK_LIMIT | back to summary |
|---|---|
| public static final Option<Integer> WORKER_TASK_LIMIT Specify the maximum number of worker tasks to allow before rejecting. | |
| WORKER_TASK_MAX_THREADS | back to summary |
|---|---|
| public static final Option<Integer> WORKER_TASK_MAX_THREADS Specify the maximum number of threads for the worker task thread pool. | |
| WORKER_WRITE_THREADS | back to summary |
|---|---|
| public static final Option<Integer> WORKER_WRITE_THREADS Specify the number of I/O threads to devote to writing for split thread channels. If not specified, a default will be chosen to be roughly half of the worker I/O threads, or the number of threads not specified for reading. | |
| WRITE_TIMEOUT | back to summary |
|---|---|
| public static final Option<Integer> WRITE_TIMEOUT Configure a write timeout for a socket, in milliseconds. If the given amount of time elapses without
a successful write taking place, the socket's next write will throw a | |
| Options | back to summary |
|---|---|
| private Options() | |