索引

C D E G H L M R T U V 
All Classes and Interfaces|所有程序包

C

com.iohao.game.widget.light.redis.lock - 程序包 com.iohao.game.widget.light.redis.lock
 

D

DefaultRedissonDistributedLock - com.iohao.game.widget.light.redis.lock中的类
简单的基于Redisson分布式锁接口实现类
DefaultRedissonDistributedLock() - 类的构造器 com.iohao.game.widget.light.redis.lock.DefaultRedissonDistributedLock
 
DistributedLock - com.iohao.game.widget.light.redis.lock中的接口
分布式锁基础接口

E

execute() - 接口中的方法 com.iohao.game.widget.light.redis.lock.ReturnHandle
执行
execute() - 接口中的方法 com.iohao.game.widget.light.redis.lock.VoidHandle
执行

G

getRedissonClientFromConfig() - 类中的静态方法 com.iohao.game.widget.light.redis.lock.RedissonConfig
 

H

Holder() - 类的构造器 com.iohao.game.widget.light.redis.lock.RedissonConfig.Holder
 

L

lockAndExecute(String, long, TimeUnit, ReturnHandle<M>) - 接口中的方法 com.iohao.game.widget.light.redis.lock.DistributedLock
阻塞等待获取分布式锁,并且执行用户传入的操作
lockAndExecute(String, long, TimeUnit, ReturnHandle<T>) - 类中的方法 com.iohao.game.widget.light.redis.lock.DefaultRedissonDistributedLock
 
lockAndExecute(String, long, TimeUnit, VoidHandle) - 类中的方法 com.iohao.game.widget.light.redis.lock.DefaultRedissonDistributedLock
 
lockAndExecute(String, long, TimeUnit, VoidHandle) - 接口中的方法 com.iohao.game.widget.light.redis.lock.DistributedLock
阻塞等待获取分布式锁,并且执行用户传入的操作

M

me() - 类中的静态方法 com.iohao.game.widget.light.redis.lock.RedissonConfig
 

R

RedissonConfig - com.iohao.game.widget.light.redis.lock中的类
redisson的基本配置
RedissonConfig() - 类的构造器 com.iohao.game.widget.light.redis.lock.RedissonConfig
 
RedissonConfig.Holder - com.iohao.game.widget.light.redis.lock中的类
 
ReturnHandle<T> - com.iohao.game.widget.light.redis.lock中的接口
带返回值的执行接口

T

tryLockAndExecute(String, long, long, TimeUnit, ReturnHandle<M>) - 接口中的方法 com.iohao.game.widget.light.redis.lock.DistributedLock
获取分布式锁,并且执行用户传入的操作 在指定时间内未得到锁,则直接返回结果,不会阻塞 用户需要自行处理异常
tryLockAndExecute(String, long, long, TimeUnit, ReturnHandle<T>) - 类中的方法 com.iohao.game.widget.light.redis.lock.DefaultRedissonDistributedLock
 
tryLockAndExecute(String, long, long, TimeUnit, VoidHandle) - 类中的方法 com.iohao.game.widget.light.redis.lock.DefaultRedissonDistributedLock
 
tryLockAndExecute(String, long, long, TimeUnit, VoidHandle) - 接口中的方法 com.iohao.game.widget.light.redis.lock.DistributedLock
获取分布式锁,并且执行用户传入的操作 在指定时间内未得到锁,则直接返回结果,不会阻塞 用户需要自行处理异常

U

unlock(String) - 类中的方法 com.iohao.game.widget.light.redis.lock.DefaultRedissonDistributedLock
 
unlock(String) - 接口中的方法 com.iohao.game.widget.light.redis.lock.DistributedLock
显示解锁

V

VoidHandle - com.iohao.game.widget.light.redis.lock中的接口
带返回值的执行接口
C D E G H L M R T U V 
All Classes and Interfaces|所有程序包