io.quarkus.redis.runtime.client.config.NetConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
package io.quarkus.redis.runtime.client.config;
import java.time.Duration;
import java.util.List;
import java.util.Optional;
import java.util.OptionalInt;
import java.util.Set;
import io.quarkus.runtime.annotations.ConfigGroup;
@ConfigGroup
public interface NetConfig {
/**
* Set the ALPN usage.
*/
Optional alpn();
/**
* Sets the list of application-layer protocols to provide to the server during the
* {@code Application-Layer Protocol Negotiation}.
*/
Optional> applicationLayerProtocols();
/**
* Sets the list of enabled SSL/TLS protocols.
*/
Optional> secureTransportProtocols();
/**
* Set the idle timeout.
*/
Optional idleTimeout();
/**
* Set the connect timeout.
*/
Optional connectionTimeout();
/**
* Set a list of remote hosts that are not proxied when the client is configured to use a proxy.
*/
Optional> nonProxyHosts();
/**
* Set proxy options for connections via CONNECT proxy
*/
ProxyConfig proxyOptions();
/**
* Set the read idle timeout.
*/
Optional readIdleTimeout();
/**
* Set the TCP receive buffer size.
*/
OptionalInt receiveBufferSize();
/**
* Set the value of reconnect attempts.
*/
OptionalInt reconnectAttempts();
/**
* Set the reconnect interval.
*/
Optional reconnectInterval();
/**
* Whether to reuse the address.
*/
Optional reuseAddress();
/**
* Whether to reuse the port.
*/
Optional reusePort();
/**
* Set the TCP send buffer size.
*/
OptionalInt sendBufferSize();
/**
* Set the {@code SO_linger} keep alive duration.
*/
Optional soLinger();
/**
* Enable the {@code TCP_CORK} option - only with linux native transport.
*/
Optional cork();
/**
* Enable the {@code TCP_FASTOPEN} option - only with linux native transport.
*/
Optional fastOpen();
/**
* Set whether keep alive is enabled
*/
Optional keepAlive();
/**
* Set whether no delay is enabled
*/
Optional noDelay();
/**
* Enable the {@code TCP_QUICKACK} option - only with linux native transport.
*/
Optional quickAck();
/**
* Set the value of traffic class.
*/
OptionalInt trafficClass();
/**
* Set the write idle timeout.
*/
Optional writeIdleTimeout();
/**
* Set the local interface to bind for network connections.
* When the local address is null, it will pick any local address, the default local address is null.
*/
Optional localAddress();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy