library/src/main/java/com/kdgregory/aws/utils/CommonUtils.java
/**
     *  Sleeps for the specified amount of time unless interrupted.
     *
     *  @param  sleepTime   Number of milliseconds to sleep.
     *
     *  @return true if the sleep was interrupted, false otherwise.
     */
Sleeps for the specified amount of time unless interrupted.
@param  sleepTime   Number of milliseconds to sleep.

@return true if the sleep was interrupted, false otherwise.
Sleeps for the specified amount of time unless interrupted . @param sleepTime Number of milliseconds to sleep . @return true if the sleep was interrupted false otherwise .
public static boolean sleepQuietly(long sleepTime)
    {
        try
        {
            Thread.sleep(sleepTime);
            return false;
        }
        catch (InterruptedException ex)
        {
            return true;
        }
    }
public static boolean sleepQuietly ( long sleepTime ) { try { Thread . sleep ( sleepTime ) ; return false ; } catch ( InterruptedException ex ) { return true ; } }
Sleeps for the specified amount of time unless interrupted.
Sleeps for the specified amount of time unless interrupted .