Class IOReactorConfig
java.lang.Object
org.apache.hc.core5.reactor.IOReactorConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final IOReactorConfigprivate final intprivate final intprivate final TimeValueprivate final intprivate final SocketAddressprivate final Stringprivate final Stringprivate final booleanprivate final TimeValueprivate final booleanprivate final Timeoutprivate final intprivate final intprivate final intprivate final booleanprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionIOReactorConfig(TimeValue selectInterval, int ioThreadCount, Timeout soTimeout, boolean soReuseAddress, TimeValue soLinger, boolean soKeepAlive, boolean tcpNoDelay, int trafficClass, int sndBufSize, int rcvBufSize, int backlogSize, int tcpKeepIdle, int tcpKeepInterval, int tcpKeepCount, SocketAddress socksProxyAddress, String socksProxyUsername, String socksProxyPassword) -
Method Summary
Modifier and TypeMethodDescriptionstatic IOReactorConfig.Buildercopy(IOReactorConfig config) static IOReactorConfig.Buildercustom()intintintintintintintintbooleanDeprecated.booleanbooleanbooleantoString()
-
Field Details
-
DEFAULT
-
selectInterval
-
ioThreadCount
private final int ioThreadCount -
soTimeout
-
soReuseAddress
private final boolean soReuseAddress -
soLinger
-
soKeepAlive
private final boolean soKeepAlive -
tcpNoDelay
private final boolean tcpNoDelay -
trafficClass
private final int trafficClass -
sndBufSize
private final int sndBufSize -
rcvBufSize
private final int rcvBufSize -
backlogSize
private final int backlogSize -
tcpKeepIdle
private final int tcpKeepIdle -
tcpKeepInterval
private final int tcpKeepInterval -
tcpKeepCount
private final int tcpKeepCount -
socksProxyAddress
-
socksProxyUsername
-
socksProxyPassword
-
-
Constructor Details
-
IOReactorConfig
IOReactorConfig(TimeValue selectInterval, int ioThreadCount, Timeout soTimeout, boolean soReuseAddress, TimeValue soLinger, boolean soKeepAlive, boolean tcpNoDelay, int trafficClass, int sndBufSize, int rcvBufSize, int backlogSize, int tcpKeepIdle, int tcpKeepInterval, int tcpKeepCount, SocketAddress socksProxyAddress, String socksProxyUsername, String socksProxyPassword)
-
-
Method Details
-
getSelectInterval
- See Also:
-
getIoThreadCount
public int getIoThreadCount()- See Also:
-
getSoTimeout
- See Also:
-
isSoReuseAddress
public boolean isSoReuseAddress()- See Also:
-
getSoLinger
- See Also:
-
isSoKeepAlive
public boolean isSoKeepAlive()- Since:
- 5.2
- See Also:
-
isSoKeepalive
-
isTcpNoDelay
public boolean isTcpNoDelay()- See Also:
-
getTrafficClass
public int getTrafficClass()- Since:
- 5.1
- See Also:
-
getSndBufSize
public int getSndBufSize()- See Also:
-
getRcvBufSize
public int getRcvBufSize()- See Also:
-
getBacklogSize
public int getBacklogSize()- See Also:
-
getTcpKeepIdle
public int getTcpKeepIdle()- Since:
- 5.3
- See Also:
-
getTcpKeepInterval
public int getTcpKeepInterval()- Since:
- 5.3
- See Also:
-
getTcpKeepCount
public int getTcpKeepCount()- Since:
- 5.3
- See Also:
-
getSocksProxyAddress
- See Also:
-
getSocksProxyUsername
- See Also:
-
getSocksProxyPassword
- See Also:
-
custom
-
copy
-
toString
-
isSoKeepAlive().