public class UserRoleRedisCache extends AbstractRedisCacheOperator<List<Long>>
key为userId,value是Long类型集合,为角色的集合
| 构造器和说明 |
|---|
UserRoleRedisCache(org.springframework.data.redis.core.RedisTemplate<String,List<Long>> redisTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCommonKeyPrefix() |
contains, expire, get, getAllKeys, getAllKeyValues, getAllValues, getRedisTemplate, put, put, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalcKeyCopyright © 2021. All rights reserved.