This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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 ?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: question on schedule task
 
Similar Threads
Thread-based timer versus Timer Class-based timer
Web Page to Excel Sheet
Can timer Update swing Widgets , or some tips needed.
scheduled java Timer job
Thread-Killing.