private final Command takeExecutingCommand ( ) { try { return this . commandAlreadySent . take ( ) ; } catch ( InterruptedException e ) { Thread . currentThread ( ) . interrupt ( ) ; } return null ; }
get current command from queue