public static class LettuceRedisCacheManager.LettuceRedisClient extends Object implements IRedis
| 构造器和说明 |
|---|
LettuceRedisClient(io.lettuce.core.api.StatefulRedisConnection<byte[],byte[]> connection,
AbstractRedisCacheManager cacheManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
delete(Set<com.jarvis.cache.to.CacheKeyTO> keys) |
byte[] |
get(byte[] key) |
byte[] |
hget(byte[] key,
byte[] field) |
void |
hset(byte[] key,
byte[] field,
byte[] value) |
void |
hset(byte[] key,
byte[] field,
byte[] value,
int seconds) |
Map<com.jarvis.cache.to.CacheKeyTO,com.jarvis.cache.to.CacheWrapper<Object>> |
mget(Type returnType,
Set<com.jarvis.cache.to.CacheKeyTO> keys) |
void |
mset(Collection<com.jarvis.cache.MSetParam> params) |
void |
set(byte[] key,
byte[] value) |
void |
setex(byte[] key,
int seconds,
byte[] value) |
public LettuceRedisClient(io.lettuce.core.api.StatefulRedisConnection<byte[],byte[]> connection,
AbstractRedisCacheManager cacheManager)
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableIOExceptionpublic void mset(Collection<com.jarvis.cache.MSetParam> params)
public Map<com.jarvis.cache.to.CacheKeyTO,com.jarvis.cache.to.CacheWrapper<Object>> mget(Type returnType, Set<com.jarvis.cache.to.CacheKeyTO> keys)
Copyright © 2020. All rights reserved.