public interface AsyncLockProxy
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
lock(String member,
long thread)
Acquires the lock.
|
CompletableFuture<Void> |
unlock(String member,
long thread)
Releases the lock.
|
CompletableFuture<Boolean> lock(String member, long thread)
member - The member locking the lock.thread - The thread locking the lock.CompletableFuture<Void> unlock(String member, long thread)
member - The member unlocking the lock.thread - The thread unlocking the lock.Copyright © 2013-2015. All Rights Reserved.