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

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