public class CompoundFuture extends Object implements OMRSFuture
OMRSFuture which has a list of child futures. It
is not complete until all of its child futures have completed.| Constructor and Description |
|---|
CompoundFuture() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFuture(OMRSFuture future)
Adds a future whose result should be included
|
boolean |
hasChildren() |
boolean |
isDone()
Checks whether processing for the future has completed.
|
public void addFuture(OMRSFuture future)
future - the future to addpublic boolean hasChildren()
public boolean isDone()
OMRSFutureisDone in interface OMRSFutureCopyright © 2018–2020 ODPi. All rights reserved.