ContainerStateMonitor.ContainerStateChangeReport awaitContainerStateChangeReport() throws InterruptedException { return stateMonitor.awaitContainerStateChangeReport(); }
ContainerStateMonitor.ContainerStateChangeReport awaitContainerStateChangeReport(final int count) throws InterruptedException { return stateMonitor.awaitContainerStateChangeReport(count); }
/** * Await service container stability and then report on container state changes. Does not reset change history, * so another run of this method with no intervening call to {@link #logContainerStateChangesAndReset()} will produce a report including * any changes included in a report returned by the first run. * * @param timeout maximum period to wait for service container stability * @param timeUnit unit in which {@code timeout} is expressed * * @return a change report, or {@code null} if there is nothing to report * * @throws java.lang.InterruptedException if the thread is interrupted while awaiting service container stability * @throws java.util.concurrent.TimeoutException if service container stability is not reached before the specified timeout */ ContainerStateMonitor.ContainerStateChangeReport awaitContainerStateChangeReport(long timeout, TimeUnit timeUnit) throws InterruptedException, TimeoutException { return stateMonitor.awaitContainerStateChangeReport(timeout, timeUnit); }
/** * Await service container stability and then report on container state changes. Does not reset change history, * so another run of this method with no intervening call to {@link #logContainerStateChangesAndReset()} will produce a report including * any changes included in a report returned by the first run. * * @param timeout maximum period to wait for service container stability * @param timeUnit unit in which {@code timeout} is expressed * * @return a change report, or {@code null} if there is nothing to report * * @throws java.lang.InterruptedException if the thread is interrupted while awaiting service container stability * @throws java.util.concurrent.TimeoutException if service container stability is not reached before the specified timeout */ ContainerStateMonitor.ContainerStateChangeReport awaitContainerStateChangeReport(long timeout, TimeUnit timeUnit) throws InterruptedException, TimeoutException { return stateMonitor.awaitContainerStateChangeReport(timeout, timeUnit); }