boolean function ( final boolean arg0 ) { while ( isValid ( ) ) { try { Thread . sleep ( getTimeLeft ( TimeUnit . MILLISECONDS ) ) ; } catch ( InterruptedException loc0 ) { if ( arg0 ) return true ; } } return false ; }
sleeps the current thread until this deadline has expired ; if mayinterrupt is true then an interrupt will cause this method to return true this is essentially a neater way of calling thread.sleep concode_field_sep Logger log concode_elem_sep long serialVersionUID concode_elem_sep long deadline concode_elem_sep Deadline MAX_VALUE concode_field_sep Timeout getTimeoutLeft concode_elem_sep boolean isValid concode_elem_sep int compareTo concode_elem_sep Deadline soonest concode_elem_sep long getTimeLeft concode_elem_sep long getTimeLeft concode_elem_sep T resolveFuture concode_elem_sep T resolveFuture concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Date getDate concode_elem_sep String toString concode_elem_sep boolean isExpired concode_elem_sep void waitFor concode_elem_sep Deadline latest