您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
索引
帮助
Package:
Description |
Related Packages
|
Classes and Interfaces
SEARCH:
程序包 top.tangyh.basic.cache.lock
package
top.tangyh.basic.cache.lock
Related Packages
程序包
说明
top.tangyh.basic.cache
top.tangyh.basic.cache.properties
top.tangyh.basic.cache.redis
top.tangyh.basic.cache.redis2
top.tangyh.basic.cache.repository
top.tangyh.basic.cache.utils
All Classes and Interfaces
接口
类
类
说明
CaffeineDistributedLock
分布式锁 只能用redis实现 写这个类的目的,只是为了防止代码启动报错
DistributedLock
分布式锁顶级接口 例如: RETRY_TIMES=100,SLEEP_MILLIS=100 RETRY_TIMES * SLEEP_MILLIS = 10000 意味着如果一直获取不了锁,最长会等待10秒后抛超时异常
RedisDistributedLock
redis分布式锁实现