void awaitContainerMonitor(final boolean interruptibly, final int count) throws InterruptedException { if (interruptibly) { stateMonitor.await(count); } else { stateMonitor.awaitUninterruptibly(count); } }
void awaitContainerMonitor(final boolean interruptibly) throws InterruptedException { if (interruptibly) { stateMonitor.await(); } else { stateMonitor.awaitUninterruptibly(); } }