Class CompoundFuture
java.lang.Object
org.odpi.openmetadata.repositoryservices.events.future.CompoundFuture
- All Implemented Interfaces:
OMRSFuture
OMRSFuture which has a list of child futures. It
is not complete until all of its child futures have completed.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFuture(OMRSFuture future) Adds a future whose result should be includedbooleanDoes this future have children?booleanisDone()Checks whether processing for the future has completed.
-
Constructor Details
-
CompoundFuture
public CompoundFuture()
-
-
Method Details
-
addFuture
Adds a future whose result should be included- Parameters:
future- the future to add
-
hasChildren
public boolean hasChildren()Does this future have children?- Returns:
- boolean flag
-
isDone
public boolean isDone()Checks whether processing for the future has completed.- Specified by:
isDonein interfaceOMRSFuture- Returns:
- boolean
-