public void endExtractInterval(){
  endMillis=System.currentTimeMillis();
  totalExtractMillis+=(endMillis - intervalStartMillis);
  state=TaskState.other;
}

public void endExtractInterval ( ) { endMillis = System . currentTimeMillis ( ) ; totalExtractMillis += ( endMillis - intervalStartMillis ) ; state = TaskState . other ; }
add time for an extract operation interval .
