axiom-core/src/main/java/org/axiom/service/ShutdownChannel.java
public boolean waitShutdown(final long timeout) {
        try {
            log.debug("Entering wait shutdown ({}ms timeout).", timeout);
            final boolean wasShutdown = latch.await(timeout, TimeUnit.MILLISECONDS);
            if (!wasShutdown) {
                log.debug("Wait Shutdown timed out after {}ms.", timeout);
            }
            return wasShutdown;
        } catch (InterruptedException e) {
            throw new LifecycleException(e.getLocalizedMessage(), e);
        }
    }
/**
     * Blocks the calling thread until shutdown has completed, or the supplied
     * {@code timeout} has been exceeded.
     * @param timeout The time delay in milliseconds to block before aborting the wait and returning
     * @return {@code true} if {@link ShutdownChannel#isShutdown()} became true before the specified timeout was
     * exceeded, otherwise {@code false}.
     * @exception LifecycleException thrown if the calling thread is interrupted whilst waiting
     */
Blocks the calling thread until shutdown has completed, or the supplied
timeout has been exceeded.
@param timeout The time delay in milliseconds to block before aborting the wait and returning
@return  true if  ShutdownChannel#isShutdown() became true before the specified timeout was
exceeded, otherwise  false.
@exception LifecycleException thrown if the calling thread is interrupted whilst waiting
Blocks the calling thread until shutdown has completed or the supplied timeout has been exceeded . @param timeout The time delay in milliseconds to block before aborting the wait and returning @return true if ShutdownChannel#isShutdown () became true before the specified timeout was exceeded otherwise false . @exception LifecycleException thrown if the calling thread is interrupted whilst waiting
public boolean waitShutdown(final long timeout) {
        try {
            log.debug("Entering wait shutdown ({}ms timeout).", timeout);
            final boolean wasShutdown = latch.await(timeout, TimeUnit.MILLISECONDS);
            if (!wasShutdown) {
                log.debug("Wait Shutdown timed out after {}ms.", timeout);
            }
            return wasShutdown;
        } catch (InterruptedException e) {
            throw new LifecycleException(e.getLocalizedMessage(), e);
        }
    }
public boolean waitShutdown ( final long timeout ) { try { log . debug ( "Entering wait shutdown ({}ms timeout)." , timeout ) ; final boolean wasShutdown = latch . await ( timeout , TimeUnit . MILLISECONDS ) ; if ( ! wasShutdown ) { log . debug ( "Wait Shutdown timed out after {}ms." , timeout ) ; } return wasShutdown ; } catch ( InterruptedException e ) { throw new LifecycleException ( e . getLocalizedMessage ( ) , e ) ; } }
Blocks the calling thread until shutdown has completed, or the supplied
 {@code timeout} has been exceeded.
Blocks the calling thread until shutdown has completed or the supplied { @code timeout } has been exceeded .