Class NetConfig
- java.lang.Object
-
- io.quarkus.redis.runtime.client.config.NetConfig
-
public class NetConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<Boolean>alpnSet the ALPN usage.Optional<List<String>>applicationLayerProtocolsSets the list of application-layer protocols to provide to the server during theApplication-Layer Protocol Negotiation.Optional<Duration>connectionTimeoutSet the connect timeout.Optional<Boolean>corkEnable theTCP_CORKoption - only with linux native transport.Optional<Boolean>fastOpenEnable theTCP_FASTOPENoption - only with linux native transport.Optional<Duration>idleTimeoutSet the idle timeout.Optional<Boolean>keepAliveSet whether keep alive is enabledOptional<String>localAddressSet the local interface to bind for network connections.Optional<Boolean>noDelaySet whether no delay is enabledOptional<List<String>>nonProxyHostsSet a list of remote hosts that are not proxied when the client is configured to use a proxy.Optional<ProxyConfig>proxyOptionsSet proxy options for connections via CONNECT proxyOptional<Boolean>quickAckEnable theTCP_QUICKACKoption - only with linux native transport.Optional<Duration>readIdleTimeoutSet the read idle timeout.OptionalIntreceiveBufferSizeSet the TCP receive buffer size.OptionalIntreconnectAttemptsSet the value of reconnect attempts.Optional<Duration>reconnectIntervalSet the reconnect interval.Optional<Boolean>reuseAddressWhether to reuse the address.Optional<Boolean>reusePortWhether to reuse the port.Optional<Set<String>>secureTransportProtocolsSets the list of enabled SSL/TLS protocols.OptionalIntsendBufferSizeSet the TCP send buffer size.Optional<Duration>soLingerSet theSO_lingerkeep alive duration.OptionalInttrafficClassSet the value of traffic class.Optional<Duration>writeIdleTimeoutSet the write idle timeout.
-
Constructor Summary
Constructors Constructor Description NetConfig()
-
-
-
Field Detail
-
applicationLayerProtocols
@ConfigItem public Optional<List<String>> applicationLayerProtocols
Sets the list of application-layer protocols to provide to the server during theApplication-Layer Protocol Negotiation.
-
secureTransportProtocols
@ConfigItem public Optional<Set<String>> secureTransportProtocols
Sets the list of enabled SSL/TLS protocols.
-
nonProxyHosts
@ConfigItem public Optional<List<String>> nonProxyHosts
Set a list of remote hosts that are not proxied when the client is configured to use a proxy.
-
proxyOptions
@ConfigItem public Optional<ProxyConfig> proxyOptions
Set proxy options for connections via CONNECT proxy
-
receiveBufferSize
@ConfigItem public OptionalInt receiveBufferSize
Set the TCP receive buffer size.
-
reconnectAttempts
@ConfigItem public OptionalInt reconnectAttempts
Set the value of reconnect attempts.
-
reconnectInterval
@ConfigItem public Optional<Duration> reconnectInterval
Set the reconnect interval.
-
sendBufferSize
@ConfigItem public OptionalInt sendBufferSize
Set the TCP send buffer size.
-
cork
@ConfigItem public Optional<Boolean> cork
Enable theTCP_CORKoption - only with linux native transport.
-
fastOpen
@ConfigItem public Optional<Boolean> fastOpen
Enable theTCP_FASTOPENoption - only with linux native transport.
-
quickAck
@ConfigItem public Optional<Boolean> quickAck
Enable theTCP_QUICKACKoption - only with linux native transport.
-
trafficClass
@ConfigItem public OptionalInt trafficClass
Set the value of traffic class.
-
-