This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes question on  schedule  task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "question on  schedule  task" Watch "question on  schedule  task" New topic
Author

question on schedule task

alfred jones
Ranch Hand

Joined: Apr 19, 2005
Posts: 279
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 ?
 
Don't get me started about those stupid light bulbs.
 
subject: question on schedule task