public void beginApplyInterval(){
  intervalStartMillis=System.currentTimeMillis();
  endMillis=intervalStartMillis;
  state=TaskState.apply;
}

public void beginApplyInterval ( ) { intervalStartMillis = System . currentTimeMillis ( ) ; endMillis = intervalStartMillis ; state = TaskState . apply ; }
start an apply interval .
