Uses of Class
org.apache.hc.core5.reactor.IOReactorConfig.Builder
Packages that use IOReactorConfig.Builder
Package
Description
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
-
Uses of IOReactorConfig.Builder in org.apache.hc.core5.reactor
Methods in org.apache.hc.core5.reactor that return IOReactorConfig.BuilderModifier and TypeMethodDescriptionstatic IOReactorConfig.BuilderIOReactorConfig.copy(IOReactorConfig config) static IOReactorConfig.BuilderIOReactorConfig.custom()IOReactorConfig.Builder.setBacklogSize(int backlogSize) Sets the default backlog size value for server sockets binds.IOReactorConfig.Builder.setIoThreadCount(int ioThreadCount) Sets the number of I/O dispatch threads to be used by the I/O reactor.IOReactorConfig.Builder.setRcvBufSize(int rcvBufSize) Sets the default value of theSocketOptions.SO_RCVBUFparameter for newly created sockets.IOReactorConfig.Builder.setSelectInterval(TimeValue selectInterval) Sets time interval at which the I/O reactor wakes up to check for timed out sessions and session requests.IOReactorConfig.Builder.setSndBufSize(int sndBufSize) Sets the default value of theSocketOptions.SO_SNDBUFparameter for newly created sockets.IOReactorConfig.Builder.setSocksProxyAddress(SocketAddress socksProxyAddress) Sets the address of the SOCKS proxy to use.IOReactorConfig.Builder.setSocksProxyPassword(String socksProxyPassword) Sets the password to provide to the SOCKS proxy for username/password authentication.IOReactorConfig.Builder.setSocksProxyUsername(String socksProxyUsername) Sets the username to provide to the SOCKS proxy for username/password authentication.IOReactorConfig.Builder.setSoKeepAlive(boolean soKeepAlive) Sets the default value of theSocketOptions.SO_KEEPALIVEparameter for newly created sockets.IOReactorConfig.Builder.setSoLinger(int soLinger, TimeUnit timeUnit) Sets the default value of theSocketOptions.SO_LINGERparameter for newly created sockets.IOReactorConfig.Builder.setSoLinger(TimeValue soLinger) Sets the default value of theSocketOptions.SO_LINGERparameter for newly created sockets.IOReactorConfig.Builder.setSoReuseAddress(boolean soReuseAddress) Sets the default value of theSocketOptions.SO_REUSEADDRparameter for newly created sockets.IOReactorConfig.Builder.setSoTimeout(int soTimeout, TimeUnit timeUnit) Sets the default socket timeout value for non-blocking I/O operations.IOReactorConfig.Builder.setSoTimeout(Timeout soTimeout) Sets the default socket timeout value for non-blocking I/O operations.IOReactorConfig.Builder.setTcpKeepCount(int tcpKeepCount) Sets the maximum number of keepalive probes TCP should send before dropping the connection.IOReactorConfig.Builder.setTcpKeepIdle(int tcpKeepIdle) Sets the time (in seconds) the connection needs to remain idle before TCP starts sending keepalive probes.IOReactorConfig.Builder.setTcpKeepInterval(int tcpKeepInterval) Sets the time (in seconds) between individual keepalive probes.IOReactorConfig.Builder.setTcpNoDelay(boolean tcpNoDelay) Sets the default value of theSocketOptions.TCP_NODELAYparameter for newly created sockets.IOReactorConfig.Builder.setTrafficClass(int trafficClass) Sets the default value of theSocketOptions.IP_TOSparameter for newly created sockets.