@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
AsyncEventsWaiter
awaitEventsConsumption
in interface AsyncEventsWaiter
org.awaitility.core.ConditionTimeoutException
- if timed out while waitingpublic void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2019 OpenDaylight. All rights reserved.