File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "question on  schedule  task" Watch "question on  schedule  task" New topic

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 ?
I agree. Here's the link:
subject: question on schedule task
It's not a secret anymore!