Package org.redisson.client
Class RedisClientConfig
- java.lang.Object
-
- org.redisson.client.RedisClientConfig
-
public class RedisClientConfig extends Object
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description RedisClientConfig()
-
Method Summary
-
-
-
Method Detail
-
getNettyHook
public NettyHook getNettyHook()
-
setNettyHook
public void setNettyHook(NettyHook nettyHook)
-
getSslHostname
public String getSslHostname()
-
setSslHostname
public RedisClientConfig setSslHostname(String sslHostname)
-
setAddress
public RedisClientConfig setAddress(String host, int port)
-
setAddress
public RedisClientConfig setAddress(String address)
-
setAddress
public RedisClientConfig setAddress(InetSocketAddress addr, RedisURI address)
-
setAddress
public RedisClientConfig setAddress(RedisURI address)
-
getAddress
public RedisURI getAddress()
-
getAddr
public InetSocketAddress getAddr()
-
getTimer
public io.netty.util.Timer getTimer()
-
setTimer
public RedisClientConfig setTimer(io.netty.util.Timer timer)
-
getExecutor
public ExecutorService getExecutor()
-
setExecutor
public RedisClientConfig setExecutor(ExecutorService executor)
-
getGroup
public io.netty.channel.EventLoopGroup getGroup()
-
setGroup
public RedisClientConfig setGroup(io.netty.channel.EventLoopGroup group)
-
getSocketChannelClass
public Class<? extends io.netty.channel.socket.SocketChannel> getSocketChannelClass()
-
setSocketChannelClass
public RedisClientConfig setSocketChannelClass(Class<? extends io.netty.channel.socket.SocketChannel> socketChannelClass)
-
getConnectTimeout
public int getConnectTimeout()
-
setConnectTimeout
public RedisClientConfig setConnectTimeout(int connectTimeout)
-
getCommandTimeout
public int getCommandTimeout()
-
setCommandTimeout
public RedisClientConfig setCommandTimeout(int commandTimeout)
-
getSslProvider
public SslProvider getSslProvider()
-
setSslProvider
public RedisClientConfig setSslProvider(SslProvider sslMode)
-
getSslTruststore
public URL getSslTruststore()
-
setSslTruststore
public RedisClientConfig setSslTruststore(URL sslTruststore)
-
getSslKeystore
public URL getSslKeystore()
-
setSslKeystore
public RedisClientConfig setSslKeystore(URL sslKeystore)
-
getSslKeystorePassword
public String getSslKeystorePassword()
-
setSslKeystorePassword
public RedisClientConfig setSslKeystorePassword(String sslKeystorePassword)
-
getSslTruststorePassword
public String getSslTruststorePassword()
-
setSslTruststorePassword
public RedisClientConfig setSslTruststorePassword(String sslTruststorePassword)
-
isSslEnableEndpointIdentification
public boolean isSslEnableEndpointIdentification()
-
setSslEnableEndpointIdentification
public RedisClientConfig setSslEnableEndpointIdentification(boolean enableEndpointIdentification)
-
getPassword
public String getPassword()
-
setPassword
public RedisClientConfig setPassword(String password)
-
getDatabase
public int getDatabase()
-
setDatabase
public RedisClientConfig setDatabase(int database)
-
getClientName
public String getClientName()
-
setClientName
public RedisClientConfig setClientName(String clientName)
-
isReadOnly
public boolean isReadOnly()
-
setReadOnly
public RedisClientConfig setReadOnly(boolean readOnly)
-
isKeepPubSubOrder
public boolean isKeepPubSubOrder()
-
setKeepPubSubOrder
public RedisClientConfig setKeepPubSubOrder(boolean keepPubSubOrder)
-
getPingConnectionInterval
public int getPingConnectionInterval()
-
setPingConnectionInterval
public RedisClientConfig setPingConnectionInterval(int pingConnectionInterval)
-
isKeepAlive
public boolean isKeepAlive()
-
setKeepAlive
public RedisClientConfig setKeepAlive(boolean keepAlive)
-
isTcpNoDelay
public boolean isTcpNoDelay()
-
setTcpNoDelay
public RedisClientConfig setTcpNoDelay(boolean tcpNoDelay)
-
getResolverGroup
public io.netty.resolver.AddressResolverGroup<InetSocketAddress> getResolverGroup()
-
setResolverGroup
public RedisClientConfig setResolverGroup(io.netty.resolver.AddressResolverGroup<InetSocketAddress> resolverGroup)
-
getUsername
public String getUsername()
-
setUsername
public RedisClientConfig setUsername(String username)
-
getSslProtocols
public String[] getSslProtocols()
-
setSslProtocols
public RedisClientConfig setSslProtocols(String[] sslProtocols)
-
-