类 RedisClient
java.lang.Object
net.oschina.j2cache.redis.RedisClient
- 所有已实现的接口:
Closeable,AutoCloseable
封装各种模式的 Redis 客户端成统一接口
Jedis 接口设计真操蛋
- 作者:
- Winter Lau (javayou@gmail.com)
-
嵌套类概要
嵌套类 -
方法概要
-
方法详细资料
-
get
public redis.clients.jedis.BinaryJedisCommands get()获取客户端接口- 返回:
- 返回基本的 Jedis 二进制命令接口
-
release
public void release()释放当前 Redis 连接 -
close
释放连接池- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException- io close exception
-