Package org.redisson.client
Class RedisClient
- java.lang.Object
-
- org.redisson.client.RedisClient
-
public final class RedisClient extends Object
Low-level Redis client- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
io.netty.util.Timer
getTimer()
boolean
isShutdown()
RFuture<InetSocketAddress>
resolveAddr()
void
shutdown()
RFuture<Void>
shutdownAsync()
String
toString()
-
-
-
Method Detail
-
create
public static RedisClient create(RedisClientConfig config)
-
getAddr
public InetSocketAddress getAddr()
-
getCommandTimeout
public long getCommandTimeout()
-
getEventLoopGroup
public io.netty.channel.EventLoopGroup getEventLoopGroup()
-
getConfig
public RedisClientConfig getConfig()
-
getTimer
public io.netty.util.Timer getTimer()
-
connect
public RedisConnection connect()
-
resolveAddr
public RFuture<InetSocketAddress> resolveAddr()
-
connectAsync
public RFuture<RedisConnection> connectAsync()
-
connectPubSub
public RedisPubSubConnection connectPubSub()
-
connectPubSubAsync
public RFuture<RedisPubSubConnection> connectPubSubAsync()
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
-