axiom-core/src/main/java/org/axiom/service/ControlChannel.java
public boolean waitShutdown(final long timeout) {
        final boolean wasShutdown =
            getShutdownChannel().waitShutdown(timeout);
        if (wasShutdown) {
            destroy();
        }
        return wasShutdown;
    }
/**
     * Waits for the 'shutdown channel' to receive a 'shutdown' signal.
     * This blocks the calling thread, but returns {@code false} if the
     * shutdown channel does not receive a signal prior to the timeout being
     * exceeded. If the shutdown channel is not ready to service consumers,
     * an exception is also thrown.
     *
     * @param timeout The number of milliseconds to wait before raising an exception.
     * @exception LifecycleException Thrown if the shutdown channel encounters an error
     * @return {@code true} if the shutdown occured within the specified timeout, otherwise {@code false}.
     */
Waits for the 'shutdown channel' to receive a 'shutdown' signal.
This blocks the calling thread, but returns  false if the
shutdown channel does not receive a signal prior to the timeout being
exceeded. If the shutdown channel is not ready to service consumers,
an exception is also thrown.

@param timeout The number of milliseconds to wait before raising an exception.
@exception LifecycleException Thrown if the shutdown channel encounters an error
@return  true if the shutdown occured within the specified timeout, otherwise  false.
Waits for the ' shutdown channel ' to receive a ' shutdown ' signal . This blocks the calling thread but returns false if the shutdown channel does not receive a signal prior to the timeout being exceeded . If the shutdown channel is not ready to service consumers an exception is also thrown . @param timeout The number of milliseconds to wait before raising an exception . @exception LifecycleException Thrown if the shutdown channel encounters an error @return true if the shutdown occured within the specified timeout otherwise false .
public boolean waitShutdown(final long timeout) {
        final boolean wasShutdown =
            getShutdownChannel().waitShutdown(timeout);
        if (wasShutdown) {
            destroy();
        }
        return wasShutdown;
    }
public boolean waitShutdown ( final long timeout ) { final boolean wasShutdown = getShutdownChannel ( ) . waitShutdown ( timeout ) ; if ( wasShutdown ) { destroy ( ) ; } return wasShutdown ; }
Waits for the 'shutdown channel' to receive a 'shutdown' signal.
Waits for the ' shutdown channel ' to receive a ' shutdown ' signal .