public class LettuceClient extends Object implements IRedisClient
| 构造器和说明 |
|---|
LettuceClient(io.lettuce.core.RedisClient redisClient,
io.lettuce.core.RedisURI redisUri) |
public LettuceClient(io.lettuce.core.RedisClient redisClient,
io.lettuce.core.RedisURI redisUri)
public void set(String key, String value)
set 在接口中 IRedisClientpublic void setAsync(String key, String value)
setAsync 在接口中 IRedisClientpublic void setex(String key, long seconds, String value)
setex 在接口中 IRedisClientpublic void setexAsync(String key, long seconds, String value)
setexAsync 在接口中 IRedisClientpublic String get(String key)
get 在接口中 IRedisClientpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionCopyright © 2020 Shoothzj. All rights reserved.