question: a new method that interrupts the worker thread . call this method to force the worker to stop what it 's doing . concode_field_sep Thread thread concode_elem_sep Integer threadPriority concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep void setThreadPriority concode_elem_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep void setValue concode_elem_sep void clear concode_elem_sep void start concode_elem_sep void finished concode_elem_sep Object construct
target: void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { loc0 . interrupt ( ) ; } threadVar . clear ( ) ; }