public interface AsyncLock
| Modifier and Type | Method and Description |
|---|---|
xapi.util.api.RemovalHandler |
lock(xapi.util.api.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()
xapi.util.api.RemovalHandler lock(xapi.util.api.SuccessHandler<AsyncLock> onLocked)
void unlock()
Copyright © December 07, 2012-2014 The Internet Party. All Rights Reserved.