public final class RedisClient extends Object
Modifier and Type | Method and Description |
---|---|
RedisConnection |
connect() |
RFuture<RedisConnection> |
connectAsync() |
RedisPubSubConnection |
connectPubSub() |
RFuture<RedisPubSubConnection> |
connectPubSubAsync() |
static RedisClient |
create(RedisClientConfig config) |
InetSocketAddress |
getAddr() |
long |
getCommandTimeout() |
RedisClientConfig |
getConfig() |
io.netty.channel.EventLoopGroup |
getEventLoopGroup() |
RFuture<InetSocketAddress> |
resolveAddr() |
void |
shutdown() |
RFuture<Void> |
shutdownAsync() |
String |
toString() |
public static RedisClient create(RedisClientConfig config)
public InetSocketAddress getAddr()
public long getCommandTimeout()
public io.netty.channel.EventLoopGroup getEventLoopGroup()
public RedisClientConfig getConfig()
public RedisConnection connect()
public RFuture<InetSocketAddress> resolveAddr()
public RFuture<RedisConnection> connectAsync()
public RedisPubSubConnection connectPubSub()
public RFuture<RedisPubSubConnection> connectPubSubAsync()
public void shutdown()
Copyright © 2014–2019 The Redisson Project. All rights reserved.