public class RedisClientConfig extends Object
Constructor and Description |
---|
RedisClientConfig() |
public RedisClientConfig setAddress(String host, int port)
public RedisClientConfig setAddress(String address)
public RedisClientConfig setAddress(URI address)
public URI getAddress()
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 void setKeepPubSubOrder(boolean keepPubSubOrder)
Copyright © 2014–2017 The Redisson Project. All rights reserved.