@Singleton public class TestableJobCoordinatorEventsWaiter extends Object implements JobCoordinatorEventsWaiter
| Constructor and Description |
|---|
TestableJobCoordinatorEventsWaiter(org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor coordinatorMonitor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitEventsConsumption()
Wait by blocking calling thread until pending events have been processed
by other threads in the background.
|
void |
close() |
@Inject public TestableJobCoordinatorEventsWaiter(org.opendaylight.infrautils.jobcoordinator.JobCoordinatorMonitor coordinatorMonitor)
public boolean awaitEventsConsumption()
throws org.awaitility.core.ConditionTimeoutException
AsyncEventsWaiterawaitEventsConsumption in interface AsyncEventsWaiterorg.awaitility.core.ConditionTimeoutException - if timed out while waitingpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 OpenDaylight. All rights reserved.