wait for completion of the command , or for the timeout to expire . concode_field_sep R result concode_elem_sep CountDownLatch latch concode_elem_sep Throwable failure concode_field_sep boolean cancel concode_elem_sep boolean isCancelled concode_elem_sep R get concode_elem_sep R get concode_elem_sep R getResult concode_elem_sep R getResult concode_elem_sep void onFailure concode_elem_sep R getFutureResult concode_elem_sep R doGetResult concode_elem_sep boolean isDone concode_elem_sep void onSuccess
boolean function ( long arg0 , TimeUnit arg1 ) { try { return isDone ( ) || latch . await ( arg0 , arg1 ) ; } catch ( InterruptedException loc0 ) { Thread . currentThread ( ) . interrupt ( ) ; return false ; } }