wait at most timeout time before aborting an operation . using aper-operation timeout means that as long as forward progress is being made , no sequence of operations will fail . if timeout == 0 , operations will run indefinitely . operating system timeouts may still apply . concode_field_sep Timeout NONE concode_elem_sep long timeoutNanos concode_elem_sep boolean hasDeadline concode_elem_sep long deadlineNanoTime concode_field_sep Timeout clearDeadline concode_elem_sep void throwIfReached concode_elem_sep void throwIfReached concode_elem_sep void waitUntilNotified concode_elem_sep Timeout clearTimeout concode_elem_sep long timeoutNanos concode_elem_sep Timeout deadlineNanoTime concode_elem_sep long deadlineNanoTime concode_elem_sep Timeout deadlineNanoTime concode_elem_sep boolean hasDeadline concode_elem_sep Timeout deadline concode_elem_sep Timeout timeout concode_elem_sep Timeout timeout
Timeout function ( long arg0 , TimeUnit arg1 ) { if ( arg0 < 0 ) throw new IllegalArgumentException ( "srini_string" + arg0 ) ; if ( arg1 == null ) throw new IllegalArgumentException ( "srini_string" ) ; this . timeoutNanos = arg1 . toNanos ( arg0 ) ; return this ; }