| Constructor and Description |
|---|
JoinableClosure(Closure closure) |
| Modifier and Type | Method and Description |
|---|---|
Closure |
getClosure() |
void |
join() |
void |
join(long timeoutMillis) |
void |
run(Status status)
Called when task is done.
|
public JoinableClosure(Closure closure)
public void run(Status status)
Closurepublic void join()
throws InterruptedException
InterruptedExceptionpublic void join(long timeoutMillis)
throws InterruptedException,
TimeoutException
InterruptedExceptionTimeoutExceptionpublic Closure getClosure()
Copyright © 2024. All rights reserved.