- java.lang.Object
-
- org.redkale.cached.spi.CachedAsyncLock
-
public class CachedAsyncLock extends Object
缓存信异步操作锁详情见: https://redkale.org
- 从以下版本开始:
- 2.8.0
- 作者:
- zhangjx
-
-
构造器概要
构造器 构造器 说明 CachedAsyncLock(ConcurrentHashMap<String,CachedAsyncLock> asyncLockMap, String lockId)
-
-
-
构造器详细资料
-
CachedAsyncLock
public CachedAsyncLock(ConcurrentHashMap<String,CachedAsyncLock> asyncLockMap, String lockId)
-
-
方法详细资料
-
compareAddFuture
public boolean compareAddFuture(CompletableFuture future)
-
fail
public void fail(Throwable t)
-
success
public <T> void success(T val)
-
-