Package org.infinispan.api.async
Interface AsyncLock
public interface AsyncLock
- Since:
- 14.0
-
Method Details
-
name
String name() -
container
AsyncContainer container()Return the container of this lock- Returns:
-
lock
CompletionStage<Void> lock() -
tryLock
CompletionStage<Boolean> tryLock() -
tryLock
-
unlock
CompletionStage<Void> unlock() -
isLocked
CompletionStage<Boolean> isLocked() -
isLockedByMe
CompletionStage<Boolean> isLockedByMe()
-