Index
All Classes and Interfaces|All Packages
C
- cache(String, Supplier<T>, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
缓存指定 key 的值,如果缓存中不存在,则使用 supplier 函数获取并缓存 此方法支持嵌套类型的缓存, 如
List<User> - cache(String, Supplier<T>, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- cache(String, Supplier<T>, Class<T>) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
缓存指定 key 的值,如果缓存中不存在,则使用 supplier 函数获取并缓存
- cache(String, Supplier<T>, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- cache(String, Supplier<T>, Duration, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
缓存指定 key 的值,如果缓存中不存在,则使用 supplier 函数获取并缓存 此方法支持嵌套类型的缓存, 如
List<User> - cache(String, Supplier<T>, Duration, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- cache(String, Supplier<T>, Duration, Class<T>) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
缓存指定 key 的值,如果缓存中不存在,则使用 supplier 函数获取并缓存
- cache(String, Supplier<T>, Duration, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- CacheService - Interface in net.wenzuo.atom.redis.service
- CacheServiceImpl - Class in net.wenzuo.atom.redis.service.impl
- CacheServiceImpl() - Constructor for class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- countExistingKeys(Collection<String>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- countExistingKeys(Collection<String>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取 key 集合中存在的 key 数量
D
- decrement(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- decrement(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
按步长为 delta 递减 value
- decrement(String, long) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- decrement(String, long) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
按步长为 delta 递减 value
- delete(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- delete(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
删除 key
- delete(Collection<String>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- delete(Collection<String>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
批量删除 key
- deserialize(byte[]) - Method in class net.wenzuo.atom.redis.config.PrefixStringRedisSerializer
E
- evict(String) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
从缓存中移除指定 key 的值
- evict(String) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- evict(Collection<String>) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
从缓存中移除指定多个 key 的值
- evict(Collection<String>) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- evictAll(String) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
从缓存中移除所有匹配指定模式的 key 的值
- evictAll(String) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- expire(String, long, TimeUnit) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- expire(String, long, TimeUnit) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
设置 key 过期时间
- expire(String, Duration) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- expire(String, Duration) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
设置 key 过期时间
- expireAt(String, Instant) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- expireAt(String, Instant) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
设置 key 在指定的时间过期
- expireAt(String, Date) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- expireAt(String, Date) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
设置 key 在指定的时间过期
G
- get(String, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- get(String, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取泛型 value
- get(String, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- get(String, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取 value
- getAndDelete(String, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndDelete(String, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取泛型 value 并删除 key
- getAndDelete(String, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndDelete(String, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取 value 并删除 key
- getAndExpire(String, long, TimeUnit, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndExpire(String, long, TimeUnit, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取泛型 value 并设置过期时间
- getAndExpire(String, long, TimeUnit, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndExpire(String, long, TimeUnit, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取 value 并设置过期时间
- getAndExpire(String, Duration, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndExpire(String, Duration, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取泛型 value 并设置过期时间
- getAndExpire(String, Duration, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndExpire(String, Duration, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取 value 并设置过期时间
- getAndPersist(String, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndPersist(String, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取泛型 value 并持久化 key, 此操作会移除 key 的过期时间
- getAndPersist(String, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndPersist(String, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取 value 并持久化 key, 此操作会移除 key 的过期时间
- getAndSet(String, Object, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndSet(String, Object, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
保存泛型 value 并返回旧的 value
- getAndSet(String, Object, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getAndSet(String, Object, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
保存 value 并返回旧的 value
- getExpire(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getExpire(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取过期时间, 单位: 秒
- getExpire(String, TimeUnit) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- getExpire(String, TimeUnit) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
获取过期时间
- getPrefix() - Method in class net.wenzuo.atom.redis.config.RedisProperties
H
- hasKey(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hasKey(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
是否存在 key
- hDecrement(String, String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hDecrement(String, String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, value - 1
- hDecrement(String, String, double) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hDecrement(String, String, double) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, value - delta
- hDecrement(String, String, long) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hDecrement(String, String, long) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, value - delta
- hDelete(String, String...) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hDelete(String, String...) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 批量删除 hashKey
- hEntries(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hEntries(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 获取所有 hash 键值对 返回的 Map 的 value 是 JsonUtils.toJson() 的结果, 需要自行转换
- hGet(String, String, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hGet(String, String, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 获取 value
- hHasKey(String, String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hHasKey(String, String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 判断 hash 键, 是否存在
- hIncrement(String, String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hIncrement(String, String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, value + 1
- hIncrement(String, String, double) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hIncrement(String, String, double) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, value + delta
- hIncrement(String, String, long) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hIncrement(String, String, long) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, value + delta
- hKeys(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hKeys(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 获取 hash 键集合
- hLengthOfValue(String, String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hLengthOfValue(String, String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 获取 value 长度
- hMultiGet(String, Collection<String>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hMultiGet(String, Collection<String>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 批量获取 value 返回的 value 顺序与 hashKeys 顺序一致, 不存在则用 null 填充, 存在则返回的是 JsonUtils.toJson() 的结果, 需要自行转换
- hPut(String, String, Object) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hPut(String, String, Object) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 保存 value
- hPutAll(String, Map<String, Object>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hPutAll(String, Map<String, Object>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 批量保存 hash 键值对
- hPutIfAbsent(String, String, Object) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hPutIfAbsent(String, String, Object) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 仅当 hashKey 不存在时,才设置 hashKey 的值
- hRandomEntries(String, long) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hRandomEntries(String, long) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 随机获取指定数量的 hash 键值对, hash 值返回的是 JsonUtils.toJson() 的结果, 需要自行转换
- hRandomEntry(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hRandomEntry(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 随机获取 hash 键值对, hash 值返回的是 JsonUtils.toJson() 的结果, 需要自行转换
- hRandomKey(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hRandomKey(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 随机获取 hash 键
- hRandomKeys(String, long) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hRandomKeys(String, long) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 随机获取指定数量的 hash 键
- hSize(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hSize(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 获取 hash 键数量
- hValues(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- hValues(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
Hash 操作, 获取所有 hash 值, hash 值返回的是 JsonUtils.toJson() 的结果, 需要自行转换
I
- increment(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- increment(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
按步长为 1 递增 value
- increment(String, double) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- increment(String, double) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
按步长为 delta 递增 value
- increment(String, long) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- increment(String, long) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
按步长为 delta 递增 value
K
- keep(String, Supplier<T>, Class<?>, Class<?>...) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
缓存指定 key 的值,如果缓存中不存在,则使用 supplier 函数获取并缓存, 此方法中 key 用不过期 此方法支持嵌套类型的缓存, 如
List<User> - keep(String, Supplier<T>, Class<?>, Class<?>...) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- keep(String, Supplier<T>, Class<T>) - Method in interface net.wenzuo.atom.redis.service.CacheService
-
缓存指定 key 的值,如果缓存中不存在,则使用 supplier 函数获取并缓存, 此方法中 key 用不过期
- keep(String, Supplier<T>, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.CacheServiceImpl
- keys(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- keys(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
找到与模式匹配的所有键
M
- multiGet(Collection<String>, Class<T>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- multiGet(Collection<String>, Class<T>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
批量获取 value, 按键的顺序排列,不存在则用 null 填充
- multiSet(Map<String, ?>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- multiSet(Map<String, ?>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
批量设置 key-value ,使用 redis mset 命令
- multiSetIfAbsent(Map<String, ?>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- multiSetIfAbsent(Map<String, ?>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
批量设置 key-value ,使用 redis mset 命令, 如果 key 不存在则保存 value, 反之不保存
N
- net.wenzuo.atom.redis.config - package net.wenzuo.atom.redis.config
- net.wenzuo.atom.redis.service - package net.wenzuo.atom.redis.service
- net.wenzuo.atom.redis.service.impl - package net.wenzuo.atom.redis.service.impl
P
- persist(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- persist(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
设置 key 永不过期
- PrefixStringRedisSerializer - Class in net.wenzuo.atom.redis.config
- PrefixStringRedisSerializer() - Constructor for class net.wenzuo.atom.redis.config.PrefixStringRedisSerializer
- PrefixStringRedisSerializer(String) - Constructor for class net.wenzuo.atom.redis.config.PrefixStringRedisSerializer
- PrefixStringRedisSerializer(Charset) - Constructor for class net.wenzuo.atom.redis.config.PrefixStringRedisSerializer
- PrefixStringRedisSerializer(Charset, String) - Constructor for class net.wenzuo.atom.redis.config.PrefixStringRedisSerializer
R
- RedisAutoConfiguration - Class in net.wenzuo.atom.redis.config
- RedisAutoConfiguration() - Constructor for class net.wenzuo.atom.redis.config.RedisAutoConfiguration
- redisCacheConfiguration() - Method in class net.wenzuo.atom.redis.config.RedisConfiguration
- RedisConfiguration - Class in net.wenzuo.atom.redis.config
- RedisConfiguration() - Constructor for class net.wenzuo.atom.redis.config.RedisConfiguration
- RedisProperties - Class in net.wenzuo.atom.redis.config
- RedisProperties() - Constructor for class net.wenzuo.atom.redis.config.RedisProperties
- RedisService - Interface in net.wenzuo.atom.redis.service
- RedisServiceImpl - Class in net.wenzuo.atom.redis.service.impl
- RedisServiceImpl() - Constructor for class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- redisTemplate(RedisConnectionFactory) - Method in class net.wenzuo.atom.redis.config.RedisConfiguration
- rename(String, String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- rename(String, String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
将 key 重命名为 newKey
- renameIfAbsent(String, String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- renameIfAbsent(String, String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
当 newKey 不存在时,将 key 重命名为 newKey
S
- serialize(String) - Method in class net.wenzuo.atom.redis.config.PrefixStringRedisSerializer
- set(String, Object) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- set(String, Object) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
保存 value
- set(String, Object, long, TimeUnit) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- set(String, Object, long, TimeUnit) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
保存 value 并设置过期时间
- set(String, Object, Duration) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- set(String, Object, Duration) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
保存 value 并设置过期时间
- setIfAbsent(String, Object) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- setIfAbsent(String, Object) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
如果 key 不存在则保存 value, 反之不保存
- setIfAbsent(String, Object, long, TimeUnit) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- setIfAbsent(String, Object, long, TimeUnit) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
如果 key 不存在则保存 value 并设置过期时间, 反之不保存
- setIfAbsent(String, Object, Duration) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- setIfAbsent(String, Object, Duration) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
如果 key 不存在则保存 value 并设置过期时间, 反之不保存
- setIfPresent(String, Object) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- setIfPresent(String, Object) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
如果 key 存在则保存 value, 反之不保存
- setIfPresent(String, Object, long, TimeUnit) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- setIfPresent(String, Object, long, TimeUnit) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
如果 key 存在则保存 value 并设置过期时间, 反之不保存
- setIfPresent(String, Object, Duration) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- setIfPresent(String, Object, Duration) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
如果 key 存在则保存 value 并设置过期时间, 反之不保存
- stringRedisTemplate(RedisConnectionFactory) - Method in class net.wenzuo.atom.redis.config.RedisConfiguration
U
- unlink(String) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- unlink(String) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
从 key 空间中取消链接.
- unlink(Collection<String>) - Method in class net.wenzuo.atom.redis.service.impl.RedisServiceImpl
- unlink(Collection<String>) - Method in interface net.wenzuo.atom.redis.service.RedisService
-
批量从 key 空间中取消链接.
All Classes and Interfaces|All Packages