File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes Execute tasks after specified time Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Execute tasks after specified time" Watch "Execute tasks after specified time" New topic
Author

Execute tasks after specified time

amit sharma
Ranch Hand

Joined: Jul 19, 2006
Posts: 129
I have a buffer class which receives message object. I have to pass this message object to other class. The condition is that if i have 1 message or n milli sec has elapsed, i have t send this messages object to other class.
Vinney Shanmugam
Ranch Hand

Joined: Aug 27, 2008
Posts: 104
Try TimerTask class of java.util
 
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: Execute tasks after specified time
 
Similar Threads
question on garbage collection........
setting object references to null
how can i Pass an object from an Action to jsp page in struts?
Help needed in compiling
Is an object an "instance" of a class?