Class Summary |
CountedHistory |
A counted history is used for history items which may spawn multiple
agents. |
ItemArguments |
Use the newItemArguments static factory method(s), not the
ItemArguments constructor, to construct instances of this
class. |
PersistantArg |
Use the newPersistantArg static factory method(s), not the
PersistantArg constructor, to construct instances of this
class. |
PrimitiveArg |
Use the newPrimitiveArg static factory method(s), not the
PrimitiveArg constructor, to construct instances of this
class. |
SchedStatusInfo |
Represents the status of a Schedule Item. |
ScheduleHistory |
This is the history of method invocations of the schedule item. |
ScheduleItem |
Use the newScheduleItem static factory method(s), not the
ScheduleItem constructor, to construct instances of this
class. |
ScheduleItemHistory |
Use the newScheduleItemHistory static factory method(s),
not the ScheduleItemHistory constructor, to construct instances
of this class. |
ScheduleItemUtil |
|
ScheduleMethodArg |
Supported API: false
Extendable: false |
SchedulerLog |
Helper class implements static methods to log messages in Wt.Scheduler Package. |
SchedulerProperties |
|
SchedulingHelper |
Supported API: false
Extendable: false |
SchedulingServiceFwd |
The standard scheduling servide presents a client accessible API to
functions provided in the server by the StandardSchedulingService
Supported API: false
Extendable: false |
StandardSchedulingService |
Standard implementation of the scheduling service. |
StandardSchedulingService.ScheduleHistoryPurging |
Class for thread spawning of ScheduleHistoryPurging.
In order to enable threading mechanism, verify spawnScheduleHistoryPurging method. |
scheduler package — Scheduling Service
The scheduling service is responsible for scheduling
the execution of resource-intensive methods, and keeping a history of their
outcomes. It can be used to fire off agent processes, in addition to scheduling
a method invocation.

Scheduler
Model
The scheduling service manages the schedule items in
the system. Schedule items can be scheduled to run once or periodically, and
can start immediately or be deferred to start at a later time. Schedule items
maintain a collection of their histories and their method arguments. Method
arguments can be any object. The scheduler provides a higher-level interface to
the wt.queue package. Schedule items are executed with the same privileges as
the user who created them.
The ScheduleHistory class provides the history of the
execution instances. A default CountedHistory object is supplied for use by
agents that perform a number of internal operations. The execScheduled method
is provided so that when the execution fires off an autonomous agent, the agent
can record its results to the schedule history.
A running instance can be in the following states:
READY
The item is scheduled and awaiting execution.
EXECUTING
The schedule item is executing its method.
SUSPENDED
The operator has suspended the method.
COMPLETED
The operation has run successfully.
FAILED
The operation has failed.
The statuses that pertain to agent processes are as
follows:
ABORTED
The operation has been aborted.
ERROR_CONTINUED
An error has occurred in the agent session, but the
agent has decided to continue.
ERROR_COMPLETED
An error has occurred in the agent session, but the
agent process continued to completion.
ERROR_STOPPED
An error has occurred in the agent session and the
agent has stopped processing.
External Interface
There is no external API for customer use.
Event Processing
This service does not emit any events.