Package org.redisson.client
Class RedisClientConfig
java.lang.Object
org.redisson.client.RedisClientConfig
- Author:
- Nikita Koksharov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAddr()
int
int
int
io.netty.channel.EventLoopGroup
getGroup()
int
io.netty.resolver.AddressResolverGroup
<InetSocketAddress> Class
<? extends io.netty.channel.socket.SocketChannel> String[]
String[]
int
int
int
int
io.netty.util.Timer
getTimer()
boolean
boolean
boolean
boolean
boolean
setAddress
(String address) setAddress
(String host, int port) setAddress
(InetSocketAddress addr, RedisURI address) setAddress
(RedisURI address) setClientName
(String clientName) setCommandMapper
(CommandMapper commandMapper) setCommandTimeout
(int commandTimeout) setConnectedListener
(Consumer<InetSocketAddress> connectedListener) setConnectTimeout
(int connectTimeout) setCredentialsResolver
(CredentialsResolver credentialsResolver) setDatabase
(int database) setDisconnectedListener
(Consumer<InetSocketAddress> disconnectedListener) setExecutor
(ExecutorService executor) setFailedNodeDetector
(FailedNodeDetector failedNodeDetector) setGroup
(io.netty.channel.EventLoopGroup group) setKeepAlive
(boolean keepAlive) setKeepPubSubOrder
(boolean keepPubSubOrder) setNettyHook
(NettyHook nettyHook) setPassword
(String password) setPingConnectionInterval
(int pingConnectionInterval) setProtocol
(Protocol protocol) setReadOnly
(boolean readOnly) setResolverGroup
(io.netty.resolver.AddressResolverGroup<InetSocketAddress> resolverGroup) setSocketChannelClass
(Class<? extends io.netty.channel.socket.SocketChannel> socketChannelClass) setSslCiphers
(String[] sslCiphers) setSslEnableEndpointIdentification
(boolean enableEndpointIdentification) setSslHostname
(String sslHostname) setSslKeyManagerFactory
(KeyManagerFactory sslKeyManagerFactory) setSslKeystore
(URL sslKeystore) setSslKeystorePassword
(String sslKeystorePassword) setSslProtocols
(String[] sslProtocols) setSslProvider
(SslProvider sslMode) setSslTrustManagerFactory
(TrustManagerFactory sslTrustManagerFactory) setSslTruststore
(URL sslTruststore) setSslTruststorePassword
(String sslTruststorePassword) setTcpKeepAliveCount
(int tcpKeepAliveCount) setTcpKeepAliveIdle
(int tcpKeepAliveIdle) setTcpKeepAliveInterval
(int tcpKeepAliveInterval) setTcpNoDelay
(boolean tcpNoDelay) setTcpUserTimeout
(int tcpUserTimeout) setTimer
(io.netty.util.Timer timer) setUsername
(String username)
-
Constructor Details
-
RedisClientConfig
public RedisClientConfig()
-
-
Method Details
-
getNettyHook
-
setNettyHook
-
getSslHostname
-
setSslHostname
-
setAddress
-
setAddress
-
setAddress
-
setAddress
-
getAddress
-
getAddr
-
getTimer
public io.netty.util.Timer getTimer() -
setTimer
-
getExecutor
-
setExecutor
-
getGroup
public io.netty.channel.EventLoopGroup getGroup() -
setGroup
-
getSocketChannelClass
-
setSocketChannelClass
public RedisClientConfig setSocketChannelClass(Class<? extends io.netty.channel.socket.SocketChannel> socketChannelClass) -
getConnectTimeout
public int getConnectTimeout() -
setConnectTimeout
-
getCommandTimeout
public int getCommandTimeout() -
setCommandTimeout
-
getSslProvider
-
setSslProvider
-
getSslTruststore
-
setSslTruststore
-
getSslKeystore
-
setSslKeystore
-
getSslKeystorePassword
-
setSslKeystorePassword
-
getSslTruststorePassword
-
setSslTruststorePassword
-
isSslEnableEndpointIdentification
public boolean isSslEnableEndpointIdentification() -
setSslEnableEndpointIdentification
-
getPassword
-
setPassword
-
getDatabase
public int getDatabase() -
setDatabase
-
getClientName
-
setClientName
-
isReadOnly
public boolean isReadOnly() -
setReadOnly
-
isKeepPubSubOrder
public boolean isKeepPubSubOrder() -
setKeepPubSubOrder
-
getPingConnectionInterval
public int getPingConnectionInterval() -
setPingConnectionInterval
-
isKeepAlive
public boolean isKeepAlive() -
setKeepAlive
-
getTcpKeepAliveCount
public int getTcpKeepAliveCount() -
setTcpKeepAliveCount
-
getTcpKeepAliveIdle
public int getTcpKeepAliveIdle() -
setTcpKeepAliveIdle
-
getTcpKeepAliveInterval
public int getTcpKeepAliveInterval() -
setTcpKeepAliveInterval
-
getTcpUserTimeout
public int getTcpUserTimeout() -
setTcpUserTimeout
-
isTcpNoDelay
public boolean isTcpNoDelay() -
setTcpNoDelay
-
getResolverGroup
-
setResolverGroup
public RedisClientConfig setResolverGroup(io.netty.resolver.AddressResolverGroup<InetSocketAddress> resolverGroup) -
getUsername
-
setUsername
-
getSslProtocols
-
setSslProtocols
-
getSslCiphers
-
setSslCiphers
-
getCredentialsResolver
-
setCredentialsResolver
-
getConnectedListener
-
setConnectedListener
-
getDisconnectedListener
-
setDisconnectedListener
-
getSslTrustManagerFactory
-
setSslTrustManagerFactory
-
getSslKeyManagerFactory
-
setSslKeyManagerFactory
-
getCommandMapper
-
setCommandMapper
-
getFailedNodeDetector
-
setFailedNodeDetector
-
getProtocol
-
setProtocol
-