public class RedisClient extends Object implements Closeable, AutoCloseable
封装各种模式的 Redis 客户端成统一接口
Jedis 接口设计真操蛋
| 限定符和类型 | 类和说明 |
|---|---|
static class |
RedisClient.Builder
RedisClient 构造器
|
public redis.clients.jedis.BinaryJedisCommands get()
public void release()
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2018. All rights reserved.