类 ReadLockExecutor
- java.lang.Object
-
- cn.fxbin.bubble.fireworks.plugin.lock.executor.AbstractLockExecutor
-
- cn.fxbin.bubble.fireworks.plugin.lock.executor.redis.ReadLockExecutor
-
- 所有已实现的接口:
LockExecutor
public class ReadLockExecutor extends AbstractLockExecutor implements LockExecutor
ReadWriteLockExecutor- 从以下版本开始:
- 2020/8/4 17:52
- 版本:
- v1.0
- 作者:
- fxbin
-
-
构造器概要
构造器 构造器 说明 ReadLockExecutor(org.redisson.api.RedissonClient redissonClient, LockInfo lockInfo)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanreleaseLock(LockInfo lockInfo)releaseLockbooleantryLock()tryLock-
从类继承的方法 cn.fxbin.bubble.fireworks.plugin.lock.executor.AbstractLockExecutor
getLockKey, isHeldByCurrentThread
-
-
-
-
构造器详细资料
-
ReadLockExecutor
public ReadLockExecutor(org.redisson.api.RedissonClient redissonClient, LockInfo lockInfo)
-
-
方法详细资料
-
tryLock
public boolean tryLock()
tryLock- 指定者:
tryLock在接口中LockExecutor- 返回:
- boolean
- 从以下版本开始:
- 2020/8/4 17:34
-
releaseLock
public boolean releaseLock(LockInfo lockInfo)
releaseLock- 指定者:
releaseLock在接口中LockExecutor- 参数:
lockInfo- cn.fxbin.bubble.fireworks.plugin.lock.model.LockInfo- 返回:
- boolean
- 从以下版本开始:
- 2020/8/4 17:34
-
-