类 LockService<L extends Lock>
java.lang.Object
cn.godmao.lock.service.LockService<L>
- 所有已实现的接口:
ILockService<L>
-
字段详细资料
-
lockTemplate
-
-
构造器详细资料
-
LockService
public LockService()
-
-
方法详细资料
-
getLockTemplate
-
getLock
- 指定者:
getLock在接口中ILockService<L extends Lock>
-
lock
- 指定者:
lock在接口中ILockService<L extends Lock>
-
tryLock
- 指定者:
tryLock在接口中ILockService<L extends Lock>
-
tryLock
- 指定者:
tryLock在接口中ILockService<L extends Lock>- 抛出:
Exception
-
tryLock
- 指定者:
tryLock在接口中ILockService<L extends Lock>- 抛出:
Exception
-
unlock
- 指定者:
unlock在接口中ILockService<L extends Lock>
-
execute
- 指定者:
execute在接口中ILockService<L extends Lock>- 抛出:
Exception
-
execute
- 指定者:
execute在接口中ILockService<L extends Lock>- 抛出:
Exception
-
execute
public void execute(Runnable runnable, long waitTime, long leaseTime, String... key) throws Exception - 指定者:
execute在接口中ILockService<L extends Lock>- 抛出:
Exception
-
execute
- 指定者:
execute在接口中ILockService<L extends Lock>- 抛出:
Exception
-
execute
- 指定者:
execute在接口中ILockService<L extends Lock>- 抛出:
Exception
-
execute
public <R> R execute(Runnable runnable, R result, long waitTime, long leaseTime, String... key) throws Exception - 指定者:
execute在接口中ILockService<L extends Lock>- 抛出:
Exception
-
submit
- 指定者:
submit在接口中ILockService<L extends Lock>- 抛出:
Exception
-
submit
public <T> Future<T> submit(Runnable runnable, T result, long waitTime, String... key) throws Exception - 指定者:
submit在接口中ILockService<L extends Lock>- 抛出:
Exception
-
submit
public <T> Future<T> submit(Runnable runnable, T result, long waitTime, long leaseTime, String... key) throws Exception - 指定者:
submit在接口中ILockService<L extends Lock>- 抛出:
Exception
-