• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question on schedule task

 
alfred jones
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
public void schedule(TimerTask task,long delay,long period)

i have confusion over these input params delay,period. not able to understand from the doc.

delay means ? after how much time the program will start execute ? am i right ?

period means ? if the period is 10 secs , say it will kill the running process and start over again from the begining ? am i right ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic