| Threads v1 |
Share astrientfoundation - Thursday September 3, 2009 15:55 EDT - http://hostj2me.com/a/7vo
http://www.hostj2me.com/d/9353/10212/threads.jar
(browse)
http://www.hostj2me.com/d/9353/10212/threads.jar
(browse)
This JAR file contains the background execution and scheduled task code used in HostJ2ME.com and CliqCafe.
Period tasks including the purging of records from a database table and mailing weekly reports are implemented as scheduled tasks. The task scheduler operates like a *nix cron: reading the list of tasks from a crontab file and enabling tasks to be scheduled with minute precision.
Background execution is used extensively in HostJ2ME.com to allow “user” threads to complete without waiting for business logic operations to complete. For example, when a user selects to download a file from HostJ2ME.com, the files download count is updated in the background and the details of the user client are record in the background. The user does not need to wait for either of these operations which use the database to complete.
|
report this application
|
|
| Total Accounts: 65,344 |
| Total Applications: 6,468 |
| Total Files: 161,296 |
| Total Downloads: 6,156,418 |
| Total Stored: 11.45GB |
|