public class RedisStandaloneCache extends AbstractRedisCache
Cache.NamedKey| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup() |
protected byte[] |
getFromRedis(byte[] key) |
protected Pair<Integer,Map<Cache.NamedKey,byte[]>> |
mgetFromRedis(Iterable<Cache.NamedKey> keys)
The lhs of the returned pair is the count of input keys
The rhs of the returned pair is a map holding the values of their corresponding keys
|
protected void |
putToRedis(byte[] key,
byte[] value,
RedisCacheConfig.DurationConfig expiration) |
protected byte[] getFromRedis(byte[] key)
getFromRedis in class AbstractRedisCacheprotected void putToRedis(byte[] key,
byte[] value,
RedisCacheConfig.DurationConfig expiration)
putToRedis in class AbstractRedisCacheprotected Pair<Integer,Map<Cache.NamedKey,byte[]>> mgetFromRedis(Iterable<Cache.NamedKey> keys)
AbstractRedisCachemgetFromRedis in class AbstractRedisCacheprotected void cleanup()
cleanup in class AbstractRedisCacheCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.