public class RedisClientConfig extends Object
Constructor and Description |
---|
RedisClientConfig() |
public String getSslHostname()
public RedisClientConfig setSslHostname(String sslHostname)
public RedisClientConfig setAddress(String host, int port)
public RedisClientConfig setAddress(String address)
public RedisClientConfig setAddress(InetSocketAddress addr, URI address)
public RedisClientConfig setAddress(URI address)
public URI getAddress()
public InetSocketAddress getAddr()
public io.netty.util.Timer getTimer()
public RedisClientConfig setTimer(io.netty.util.Timer timer)
public ExecutorService getExecutor()
public RedisClientConfig setExecutor(ExecutorService executor)
public io.netty.channel.EventLoopGroup getGroup()
public RedisClientConfig setGroup(io.netty.channel.EventLoopGroup group)
public Class<? extends io.netty.channel.socket.SocketChannel> getSocketChannelClass()
public RedisClientConfig setSocketChannelClass(Class<? extends io.netty.channel.socket.SocketChannel> socketChannelClass)
public int getConnectTimeout()
public RedisClientConfig setConnectTimeout(int connectTimeout)
public int getCommandTimeout()
public RedisClientConfig setCommandTimeout(int commandTimeout)
public SslProvider getSslProvider()
public RedisClientConfig setSslProvider(SslProvider sslMode)
public URI getSslTruststore()
public RedisClientConfig setSslTruststore(URI sslTruststore)
public URI getSslKeystore()
public RedisClientConfig setSslKeystore(URI sslKeystore)
public String getSslKeystorePassword()
public RedisClientConfig setSslKeystorePassword(String sslKeystorePassword)
public String getSslTruststorePassword()
public RedisClientConfig setSslTruststorePassword(String sslTruststorePassword)
public boolean isSslEnableEndpointIdentification()
public RedisClientConfig setSslEnableEndpointIdentification(boolean enableEndpointIdentification)
public String getPassword()
public RedisClientConfig setPassword(String password)
public int getDatabase()
public RedisClientConfig setDatabase(int database)
public String getClientName()
public RedisClientConfig setClientName(String clientName)
public boolean isReadOnly()
public RedisClientConfig setReadOnly(boolean readOnly)
public boolean isKeepPubSubOrder()
public RedisClientConfig setKeepPubSubOrder(boolean keepPubSubOrder)
public int getPingConnectionInterval()
public RedisClientConfig setPingConnectionInterval(int pingConnectionInterval)
public boolean isKeepAlive()
public RedisClientConfig setKeepAlive(boolean keepAlive)
public boolean isTcpNoDelay()
public RedisClientConfig setTcpNoDelay(boolean tcpNoDelay)
public io.netty.resolver.AddressResolverGroup<InetSocketAddress> getResolverGroup()
public RedisClientConfig setResolverGroup(io.netty.resolver.AddressResolverGroup<InetSocketAddress> resolverGroup)
Copyright © 2014–2018 The Redisson Project. All rights reserved.