jrunx.scheduler
Interface Scheduler
- All Superinterfaces:
- SchedulerServiceMBean, java.io.Serializable, Service, ServiceMBean, ThreadPoolServiceMBean
- All Known Implementing Classes:
- SchedulerService
- public interface Scheduler
- extends SchedulerServiceMBean
a scheduler provides the basic ability to run a given task
at a given time. That's it. Of course, all kinds of fancy
functionality can be built on top of this -- cron, one-shot
events, periodic background tasks, etc.
There are no restrictions on what a Runnable do. For
example, they can change their thread priorities and therefore
run at a lower or higher priority than other tasks even if they
are scheduled for the same exact time.
A scheduler parallels a thread in many ways. A Runnable
encapsulates a basic unit of work for either a Thread or a
Scheduler. A runnable can certianly reschedule itself, return
immediately, or whatever.
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
Copyright � 2002 Macromedia Corporation. All Rights Reserved.