An asynchronous exit point for a test.
Constructor and description |
---|
Async
(java.lang.Object delegate) |
Type | Name and description |
---|---|
void |
complete() Signals the asynchronous operation is done, this method must be called with a count greater than 0 ,
otherwise it throw an IllegalStateException to signal the error. |
int |
count() @return
|
void |
countDown() Count down the async. |
java.lang.Object |
getDelegate() |
Methods inherited from class | Name |
---|---|
class Completion |
await, await, awaitSuccess, awaitSuccess, getDelegate, handler, isCompleted, isFailed, isSucceeded, resolve |
Signals the asynchronous operation is done, this method must be called with a count greater than 0
,
otherwise it throw an IllegalStateException
to signal the error.
Count down the async.