public static void sleep ( long length , TimeUnit unit ) { try { unit . sleep ( length ) ; } catch ( InterruptedException e ) { Thread . currentThread ( ) . interrupt ( ) ; } }
Sleep for the length of time .