check if we 're already past the deadline . concode_field_sep long deadline concode_elem_sep Stopwatch stopwatch concode_field_sep long getDeadline concode_elem_sep long getElapsedMillis concode_elem_sep long getMillisBeforeDeadline concode_elem_sep void reset concode_elem_sep String toString concode_elem_sep boolean hasDeadline concode_elem_sep void setDeadline concode_elem_sep boolean wouldSleepingTimeout
boolean function ( ) { if ( ! hasDeadline ( ) ) { return false ; } return deadline - stopwatch . elapsedMillis ( ) <= 0 ; }