public interface AsyncApply
WorkSync.| Modifier and Type | Method and Description |
|---|---|
void |
await()
Await the application of the work submitted to a
WorkSync. |
void await()
throws ExecutionException
WorkSync.
If the work is already done, then this method with return immediately.
If the work has not been done, then this method will attempt to grab the WorkSync lock to complete the
work, or block to wait for another thread to complete the work on behalf of the current thread.
ExecutionException - if this thread ends up performing the work, and an exception is thrown from the
attempt to apply the work.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.