JDRing
Home PageCategories: Miscellaneous
Latest version: 2.0
Added 2006-03-20
Scheduling library that supports ringing alarms at specified intervals, as one-time events, or on complex schedules with full cron-like control.
Features include:
- Alarms are added to and removed from the schedule in code. No file formats or XML schemas to learn.
- You can optionally specify a name for each alarm; this lets you use a single listener for multiple alarms.
- Alarms can be rung at a fixed interval, or at a single fixed date, or on a cron-based flexible schedule.
- With cron-style scheduling, you can provide a list of minutes, hours, days of the month, days of the week, and months (or "all" for any of these), and the alarm will ring on every match.
- Counting standards are consistent with the java.utils.Calendar class, so minutes range from 0 to 59, hours from 0 to 23, days of the week from 1 (Sunday) to 7, and days of the month from 1 to 31 (depending on the month).
- Alarms by default are rung (listeners are notified) within a single alarm thread, so a long-running alarm will delay following alarms until it completes. This may be what you want, because alarm tasks may be dependent on previous ones. If not, any alarm may be flagged to ring in a separate thread, so that it will not delay the other alarms.
Built for Java |
Library |
Free or free version available |
Source code provided |