跳过导航链接
A B C D E F G H I K L M N O Q R S T U V 

A

AbsLockDecorator - io.github.spring.tools.redis.decorator中的类
共享锁 包装器
AbsLockDecorator(IRedisLock) - 类 的构造器io.github.spring.tools.redis.decorator.AbsLockDecorator
构造一个 包装器实例
AbsLockException - io.github.spring.tools.redis.exception中的异常错误
共享锁异常基类
AbsLockException(String) - 异常错误 的构造器io.github.spring.tools.redis.exception.AbsLockException
构造函数
acquire(double, long) - 类 中的方法io.github.spring.tools.redis.concurrent.RateLimiterData
获取 数量
addDecorators(Class<? extends AbsLockDecorator>...) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
添加多个装饰者
addDecorators(List<Class<? extends AbsLockDecorator>>) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
添加多个装饰者
AnnotationProcess - io.github.spring.tools.redis.annotation中的类
将 用于处理 含有 RedisLock 注解的方法
AnnotationProcess(BeanFactory) - 类 的构造器io.github.spring.tools.redis.annotation.AnnotationProcess
 
annotationSharedLoadInterceptor(ApplicationContext) - 类 中的方法io.github.spring.tools.redis.annotation.configuration.RedisLockConfiguration
创建 共享锁 拦截器

B

build() - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
开始生成
buildEnv(RedisTemplate) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
设置 全局环境
builder(String) - 类 中的静态方法io.github.spring.tools.redis.RedisLockBuilder
生成

C

callback() - 接口 中的方法io.github.spring.tools.redis.IDoCallback
执行函数
close() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
try-with-resource close
create(String, double) - 类 中的静态方法io.github.spring.tools.redis.concurrent.RedisRateLimiter
创建一个实例,默认最大存储1秒的数量,存储1秒的令牌
create(String, double, double) - 类 中的静态方法io.github.spring.tools.redis.concurrent.RedisRateLimiter
设置一个 maxBurstSeconds 的限流器,initBurstSeconds = maxBurstSeconds
create(String, double, double, double) - 类 中的静态方法io.github.spring.tools.redis.concurrent.RedisRateLimiter
创建一个实例

D

debugMessage(String) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
来一个 debug 消息
debugMessage(String) - 类 中的方法io.github.spring.tools.redis.DefaultRedisLock
来一个 debug 消息
DEFAULT_EMPTY - 类 中的静态变量io.github.spring.tools.redis.RedisLockBuilder
默认空数据
DEFAULT_INT - 注释类型 中的静态变量io.github.spring.tools.redis.annotation.RedisLock
默认值
DEFAULT_LOCK_SECONDS - 接口 中的静态变量io.github.spring.tools.redis.capable.ILockWritable
默认锁定时长,单位秒
DEFAULT_METHOD - 注释类型 中的静态变量io.github.spring.tools.redis.annotation.RedisLock
默认方法
DEFAULT_SLEEP_MAX_MILLS - 接口 中的静态变量io.github.spring.tools.redis.capable.ILockWritable
最大休眠时间
DEFAULT_SLEEP_MIN_MILLS - 接口 中的静态变量io.github.spring.tools.redis.capable.ILockWritable
最小休眠时间
DEFAULT_SPIN_TIME - 接口 中的静态变量io.github.spring.tools.redis.capable.ILockWritable
默认自旋数量
DefaultRedisLock - io.github.spring.tools.redis中的类
默认的具体Redis锁实现类 默认的具体Redis锁实现类
delegate - 类 中的变量io.github.spring.tools.redis.decorator.AbsLockDecorator
处理实例
delete(String) - 类 中的方法io.github.spring.tools.redis.RedisLockClient
删除 key https://redis.io/commands/del

E

EnabledRedisLock - io.github.spring.tools.redis.annotation中的注释类型
开启 共享锁
errorMessage(String) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
来一个 error 消息
execScriptList(String) - 类 中的方法io.github.spring.tools.redis.RedisLockClient
执行 script
execute(IDoCallback<T>, IDoCallback<T>, IDoCallback<T>, int, TimeUnit) - 接口 中的方法io.github.spring.tools.redis.capable.ILock
执行需要锁的函数
execute(IDoCallback<T>, IDoCallback<T>, IDoCallback<T>) - 接口 中的方法io.github.spring.tools.redis.capable.ILockTemplate
委托执行,支持降级和回滚,只尝试获取一次,失败立即返回
execute(IDoCallback<T>, IDoCallback<T>) - 接口 中的方法io.github.spring.tools.redis.capable.ILockTemplate
委托执行,支持降级,只尝试获取一次,失败立即返回
execute(IDoCallback<T>) - 接口 中的方法io.github.spring.tools.redis.capable.ILockTemplate
委托执行,支持降级和回滚,如果获取所失败,则抛出异常,只尝试获取一次,失败立即返回
execute(IDoCallback<T>, IDoCallback<T>, IDoCallback<T>, int, TimeUnit) - 接口 中的方法io.github.spring.tools.redis.capable.ILockTemplate
委托执行,支持降级和回滚,等待特定时间段,如果超时则失败
execute(IDoCallback<T>, IDoCallback<T>, int, TimeUnit) - 接口 中的方法io.github.spring.tools.redis.capable.ILockTemplate
委托执行,支持降级和回滚,等待特定时间段,如果超时则失败
execute(IDoCallback<T>, int, TimeUnit) - 接口 中的方法io.github.spring.tools.redis.capable.ILockTemplate
委托执行,支持降级和回滚,等待特定时间段,如果超时则失败

F

FAULT_NUMBER_DEFAULT - 注释类型 中的静态变量io.github.spring.tools.redis.annotation.RedisLock
失败返回的默认值
FaultPolicy - io.github.spring.tools.redis.annotation中的枚举
失败处理策略

G

get(String) - 类 中的方法io.github.spring.tools.redis.RedisLockClient
获取 get 对应的数据 https://redis.io/commands/get
getBuilder() - 类 中的静态方法io.github.spring.tools.redis.RedisLockEnvironment
获取 已设置的 builder
getDecoratorByClass(Class<T>) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
获取特定 class 类型的装饰者实例
getInstance() - 类 中的静态方法io.github.spring.tools.redis.RedisLockEnvironment
获取 实例
getKey() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
获取锁的key
getKey() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getLockClient() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
获取 锁的客户端
getLockClient() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getLockClient() - 类 中的方法io.github.spring.tools.redis.DefaultRedisLock
 
getLockSeconds() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
需要锁定的时间
getLockSeconds() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
获取lock的时间
getLockSeconds() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getLogger() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
获取 logger 对象
getLogger() - 类 中的方法io.github.spring.tools.redis.decorator.ReentrantLockDecorator
 
getRedisTemplate() - 类 中的方法io.github.spring.tools.redis.RedisLockClient
获取 redis template
getReleaseStatus() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
获取 释放 状态
getReleaseStatus() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getReleaseStatus() - 类 中的方法io.github.spring.tools.redis.decorator.ReentrantLockDecorator
 
getSleepMaxMills() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
获取最大休眠时间
getSleepMaxMills() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
获取最大休眠时间
getSleepMaxMills() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getSleepMills() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
获取当前休眠的时间
getSleepMinMills() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
获取最小休眠时间,毫秒
getSleepMinMills() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
获取最小休眠时间,毫秒
getSleepMinMills() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getSpinTimes() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
获取自旋次数
getSpinTimes() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
获取自旋次数
getSpinTimes() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getStatus() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
获取所的状态
getStatus() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
获取当前状态
getStatus() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
getStatus() - 类 中的方法io.github.spring.tools.redis.decorator.ReentrantLockDecorator
 

H

handle(ProceedingJoinPoint) - 类 中的方法io.github.spring.tools.redis.annotation.AnnotationProcess
执行
handle(ProceedingJoinPoint) - 类 中的方法io.github.spring.tools.redis.annotation.RedisLockInterceptor
环绕执行

I

IDoCallback<T> - io.github.spring.tools.redis中的接口
callback 函数
ILock - io.github.spring.tools.redis.capable中的接口
Redis 锁 基础服务接口定义 定义了Redis 锁对外暴露的服务接口,支持 try-with-resource
ILockTemplate - io.github.spring.tools.redis.capable中的接口
Redis Lock callback 执行能力定义 定义了 redis 执行能力接口规范
ILockWritable - io.github.spring.tools.redis.capable中的接口
定义锁属性变更接口 定义锁属性变更接口
infoMessage(String) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
来一个 info 消息
initRedisLock() - 类 中的方法io.github.spring.tools.redis.annotation.configuration.RedisLockConfiguration
初始化 lock
inStates(RedisLockStatus...) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
当前状态在给定的状态列表中
interrupted() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
取消当前锁,只对 NEW 状态可用
interrupted() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
interrupted() - 类 中的方法io.github.spring.tools.redis.DefaultRedisLock
 
io.github.spring.tools.redis - 程序包 io.github.spring.tools.redis
 
io.github.spring.tools.redis.annotation - 程序包 io.github.spring.tools.redis.annotation
 
io.github.spring.tools.redis.annotation.configuration - 程序包 io.github.spring.tools.redis.annotation.configuration
 
io.github.spring.tools.redis.capable - 程序包 io.github.spring.tools.redis.capable
 
io.github.spring.tools.redis.concurrent - 程序包 io.github.spring.tools.redis.concurrent
 
io.github.spring.tools.redis.decorator - 程序包 io.github.spring.tools.redis.decorator
 
io.github.spring.tools.redis.exception - 程序包 io.github.spring.tools.redis.exception
 
IRedisLock - io.github.spring.tools.redis中的接口
RedisLock的集成接口,集成了对外公布的服务接口 RedisLock的集成接口,集成了对外公布的服务接口
isFinished() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
流程结束
isFinished() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
isLocked() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
是否 以获取锁
isRollback() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
是否需要 回滚, status=RedisLockStatus.LOCKED && releaseStatus=RedisLockReleaseStatus.FAIL 时返回true
isStatus(RedisLockStatus) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
当前状态

K

key - 异常错误 中的变量io.github.spring.tools.redis.exception.AbsLockException
key
key(String) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
设置 共享锁 key
keyPrefix(String) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
key 的前缀

L

lock() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
锁定,此方法不支持
lockInterruptibly() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
可重复线程锁,不支持
lockSeconds(int) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
设置资源锁定时间,单位秒

M

mergeEnv(IRedisLock, Set<Class<? extends AbsLockDecorator>>, String) - 类 中的静态方法io.github.spring.tools.redis.RedislockUtils
装饰 共享锁服务

N

needUnlock() - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
是否需要解锁
needUnlock() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
needUnlock() - 类 中的方法io.github.spring.tools.redis.DefaultRedisLock
 
newCondition() - 接口 中的方法io.github.spring.tools.redis.capable.ILock
此方法不支持
NoopLockException - io.github.spring.tools.redis.exception中的异常错误
RedisLock 注解中 空异常 RedisLock 注解中 空异常
NoopLockException(String) - 异常错误 的构造器io.github.spring.tools.redis.exception.NoopLockException
构造函数

O

of(String, double, double, String) - 类 中的静态方法io.github.spring.tools.redis.concurrent.RateLimiterData
通过 array string 转换
of(double, double, double, long) - 类 中的静态方法io.github.spring.tools.redis.concurrent.RateLimiterData
第一次初始化
ORDER_DEFAULT - 类 中的静态变量io.github.spring.tools.redis.decorator.AbsLockDecorator
默认的序号

Q

queryRedisNow() - 类 中的方法io.github.spring.tools.redis.RedisLockClient
获取当前 redis 时间

R

RateLimiterData - io.github.spring.tools.redis.concurrent中的类
限速器数据 限速器数据源
RedisLock - io.github.spring.tools.redis.annotation中的注释类型
共享锁配置
RedisLockBuilder - io.github.spring.tools.redis中的类
共享锁构造器
RedisLockBuilder() - 类 的构造器io.github.spring.tools.redis.RedisLockBuilder
 
RedisLockClient - io.github.spring.tools.redis中的类
基于spring 的共享锁客户端
RedisLockClient(RedisTemplate<String, String>) - 类 的构造器io.github.spring.tools.redis.RedisLockClient
创建一个 redis lock client
RedisLockConfiguration - io.github.spring.tools.redis.annotation.configuration中的类
抽象的共享锁配置,将一些功能的方法和bean在这里初始化,所有 configuration 子类必须继承自此类
RedisLockConfiguration() - 类 的构造器io.github.spring.tools.redis.annotation.configuration.RedisLockConfiguration
 
RedisLockConfigurationImportSelector - io.github.spring.tools.redis.annotation.configuration中的类
共享锁 配置导入类
RedisLockConfigurationImportSelector() - 类 的构造器io.github.spring.tools.redis.annotation.configuration.RedisLockConfigurationImportSelector
 
RedisLockEnvironment - io.github.spring.tools.redis中的类
共享锁环境变量
RedisLockInterceptor - io.github.spring.tools.redis.annotation中的类
Shared Lock spring aop 拦截器,拦截相关的方法,并处理,事务的aop order 默认是,见EnableTransactionManagement.order()
RedisLockInterceptor(BeanFactory) - 类 的构造器io.github.spring.tools.redis.annotation.RedisLockInterceptor
 
RedisLockReleaseStatus - io.github.spring.tools.redis中的枚举
锁释放状态 定义锁释放结果
RedisLockStatus - io.github.spring.tools.redis中的枚举
Redis Lock 的 状态定义枚举 定义了Redis Lock 存在的状态
RedislockUtils - io.github.spring.tools.redis中的类
共享锁 工具
RedislockUtils() - 类 的构造器io.github.spring.tools.redis.RedislockUtils
 
RedisRateLimiter - io.github.spring.tools.redis.concurrent中的类
基于 Redis 的分布式令牌桶,暂时精确度到 毫秒,即一秒 1000次 基于 Redis 的分布式令牌桶,参照 Guava RateLimiter 主要属性: permitsPerSecond 每秒产生令牌数 maxBurstSeconds 最大存储的令牌秒数 nextFreeTicketMills 下一次释放令牌的时间,毫秒 storedPermits 当前存储的令牌数量 maxPermits 最大存储的令牌数量
redisTemplate - 类 中的变量io.github.spring.tools.redis.RedisLockClient
 
ReentrantLockDecorator - io.github.spring.tools.redis.decorator中的类
可重入锁
ReentrantLockDecorator(IRedisLock) - 类 的构造器io.github.spring.tools.redis.decorator.ReentrantLockDecorator
构造一个 包装器实例
releaseByLua(String, String) - 类 中的方法io.github.spring.tools.redis.RedisLockClient
通过Lua脚本释放锁 https://redis.io/commands/eval
resync(long) - 类 中的方法io.github.spring.tools.redis.concurrent.RateLimiterData
重新 计算一把,主要计算 storedPermits 和 nextFreeTicketMicros

S

selectImports(AnnotationMetadata) - 类 中的方法io.github.spring.tools.redis.annotation.configuration.RedisLockConfigurationImportSelector
 
set(String, String, boolean) - 类 中的方法io.github.spring.tools.redis.RedisLockClient
设置 数据 https://redis.io/commands/set
setKey(String) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
设置 key
setKey(String) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
setLockSeconds(int) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
设置 锁定时间,单位秒
setLockSeconds(int) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
setNx(String, String, int) - 类 中的方法io.github.spring.tools.redis.RedisLockClient
调用 set nx 接口 https://redis.io/commands/set
setReleaseStatus(RedisLockReleaseStatus) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
设置 release 状态
setReleaseStatus(RedisLockReleaseStatus) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
setReleaseStatus(RedisLockReleaseStatus) - 类 中的方法io.github.spring.tools.redis.decorator.ReentrantLockDecorator
 
setSleepMaxMills(int) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
设置 休眠最大时间,单位毫秒
setSleepMaxMills(int) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
setSleepMinMills(int) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
设置 休眠最小时间,单位毫秒
setSleepMinMills(int) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
setSpinTimes(int) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
设置 自旋次数
setSpinTimes(int) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
setStatus(RedisLockStatus) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
设置 状态
setStatus(RedisLockStatus) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
设置 状态
sleepMaxMills(int) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
设置最大休闲时间
sleepMinMills(int) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
最小休眠时间
spinTimes(int) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
设置 自旋次数
stringToBytes(String) - 类 中的静态方法io.github.spring.tools.redis.RedislockUtils
字符串转换成字符串

T

throwableException(RuntimeException) - 类 中的方法io.github.spring.tools.redis.RedisLockBuilder
设置失败时抛出异常
TimeoutLockException - io.github.spring.tools.redis.exception中的异常错误
获取锁超时异常 在固定时间段内获取锁超时,抛出此异常
TimeoutLockException(String) - 异常错误 的构造器io.github.spring.tools.redis.exception.TimeoutLockException
构造函数
toArrayString() - 类 中的方法io.github.spring.tools.redis.concurrent.RateLimiterData
转换成 array 的 字符串
toString() - 类 中的方法io.github.spring.tools.redis.concurrent.RateLimiterData
 
TRY_ONE - 注释类型 中的静态变量io.github.spring.tools.redis.annotation.RedisLock
只尝试一次
tryAcquire(int) - 类 中的方法io.github.spring.tools.redis.concurrent.RedisRateLimiter
尝试获取锁,不等待
tryAcquire(int, int, TimeUnit) - 类 中的方法io.github.spring.tools.redis.concurrent.RedisRateLimiter
尝试获取 permits 个令牌
tryGetAllPermits() - 类 中的方法io.github.spring.tools.redis.concurrent.RedisRateLimiter
尝试获取当前可用的数量
tryLock() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
tryLock(long, TimeUnit) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
tryLock() - 类 中的方法io.github.spring.tools.redis.decorator.ReentrantLockDecorator
 
tryLock(long, TimeUnit) - 类 中的方法io.github.spring.tools.redis.decorator.ReentrantLockDecorator
 
tryLock() - 类 中的方法io.github.spring.tools.redis.DefaultRedisLock
 
tryLock(long, TimeUnit) - 类 中的方法io.github.spring.tools.redis.DefaultRedisLock
 

U

unlock() - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
unlock() - 类 中的方法io.github.spring.tools.redis.decorator.ReentrantLockDecorator
 
unlock() - 类 中的方法io.github.spring.tools.redis.DefaultRedisLock
 
unlocked(boolean) - 接口 中的方法io.github.spring.tools.redis.capable.ILockWritable
成功并设置状态
unlocked(boolean) - 类 中的方法io.github.spring.tools.redis.decorator.AbsLockDecorator
 
UnLockFailException - io.github.spring.tools.redis.exception中的异常错误
解锁失败异常 解锁失败时抛出此异常
UnLockFailException(String) - 异常错误 的构造器io.github.spring.tools.redis.exception.UnLockFailException
构造函数

V

valueOf(String) - 枚举 中的静态方法io.github.spring.tools.redis.annotation.FaultPolicy
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法io.github.spring.tools.redis.RedisLockReleaseStatus
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法io.github.spring.tools.redis.RedisLockStatus
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法io.github.spring.tools.redis.annotation.FaultPolicy
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法io.github.spring.tools.redis.RedisLockReleaseStatus
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法io.github.spring.tools.redis.RedisLockStatus
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
A B C D E F G H I K L M N O Q R S T U V 
跳过导航链接

Copyright © 2020. All rights reserved.