public void interrupt(){
  future.cancel(true);
}

public void interrupt ( ) { future . cancel ( true ) ; }
a new method that interrupts the worker thread . call this method to force the worker to stop what it ' s doing .
