aspose file tools
The moose likes Threads and Synchronization and the fly likes how to Thread scheduling based on fixed time? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "how to Thread scheduling based on fixed time?" Watch "how to Thread scheduling based on fixed time?" New topic
Author

how to Thread scheduling based on fixed time?

praveen kumar
Greenhorn

Joined: Sep 12, 2005
Posts: 9
hello,

I have to run multiple threads based on diff diff fixed times..
might be there is lag of few minutes on each thread.

so, how can i do this....
like thread scheduling via priority basis..is there any trick to move on time basis.

Regards
Praveen
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm not quite sure what you're after. Look into Timer and see how it can schedule a task to run at some future time or at some regular interval. Does that do what you need?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to Thread scheduling based on fixed time?
 
Similar Threads
Thread scheduler
Thread Priority
Theads priority
Questions about locks
Multithreading