stop the pumper as soon as possible . note that it may continue to block on the input stream but it will really stop the thread as soon as it gets eof or any byte , and it will be marked as finished . concode_field_sep boolean autoflush concode_elem_sep OutputStream os concode_elem_sep boolean closeWhenExhausted concode_elem_sep InputStream is concode_elem_sep boolean finish concode_elem_sep boolean finished concode_elem_sep int SIZE concode_field_sep void setAutoflush concode_elem_sep void run concode_elem_sep boolean isFinished concode_elem_sep void waitFor
void function ( ) { finish = true ; notifyAll ( ) ; }