uCosminexus Application Server, Expansion Guide

[Contents][Index][Back][Next]

10.3.3 State transition of TimerManager

The status of TimerManager changes depending on the lock or stop process, by suspend and resume. You can check the status of TimerManager at the respective time, by using the isStopped, isStopping, and isSuspended method. The following figure shows the status transition of TimerManager.

Figure 10-6 Status transition of TimerManager

[Figure]

The following table describes the details of each status.

Table 10-11 Status of TimerManager

Number in figure# Status Explanation
1 running It is a status indicating that TimerManager is running. You can receive and execute a new schedule.
2 suspending It is a status indicating that suspension is in process. This status shows that a task is being executed when suspension is executed. If no task is being executed, the status transits to suspended status.
3 suspended It is a status indicating that all the tasks are suspended. When the status is suspended, all the scheduled tasks are not executed. The tasks with suspended status are executed when those tasks are resumed.
4 stopping It is a status indicating that the stopping TimerManager is being executed. This status shows that a task is being executed when stopping is TimerManager is being executed. If no task is being executed, the status transits to stopped status.
5 stopped It is a status indicating that TimerManager is stopped. This status shows that all the tasks are stopped and no process is executed after that. You cannot resume TimerManager, once it is stopped.

# Number indicating the number in Figure 10-6.