public interface AsyncLock
| Modifier and Type | Method and Description |
|---|---|
RemovalHandler |
lock(SuccessHandler<AsyncLock> onLocked) |
AsyncCondition |
newCondition()
always throws
NotYetImplemented. |
boolean |
tryLock()
In a single-threaded environment, tryLock always returns true.
|
void |
unlock()
In a single-threaded environment, this will call any queued async lock
requests.
|
AsyncCondition newCondition()
NotYetImplemented.boolean tryLock()
RemovalHandler lock(SuccessHandler<AsyncLock> onLocked)
void unlock()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.