Hitachi

uCosminexus Application Server Compatibility Guide


21.3.4 Multiple schedules of TimerManager

With the timer process scheduled by TimerManager, use the threads managed in the thread pool. When the timer processing is scheduled, one thread, from among the threads managed in the thread pool, is assigned. If there is a blank thread in the thread pool, the blank thread is used. If there is no blank thread in the thread pool, a thread is generated and used. A thread generated in the thread pool is pooled until TimerManager stops.

The maximum number of threads that you can concurrently use in an instance is 50. A thread is assigned even if the scheduled timer processing is in standby status. Therefore, the maximum number of processes that can be concurrently scheduled is 50, irrespective of the status of timer processing.

If the number of already generated threads reaches the maximum number, the scheduled timer process is stored in a queue and process waits until a blank thread is available. The timer process, stored in the queue, is executed as soon as a blank thread is available.

Use multiple TimerManager if you want to concurrently schedule 51 or more threads.