Timeout Manager is a non-distributed system for scheduling tasks for future execution in a background thread. A special Timeout object represents each task. If you want to reuse a particular thread, you can specify a timeout, after which the same thread can be reused. Timeout manager runs on both server and dispatcher nodes.
|
Dispatcher |
|
Property |
Description |
Default Value |
|
|
|
InitialPoolSize |
Specifies the initial size of the pool of Timeout objects.
Note
:
In Timeout Manager, each task to be executed is represented by a Timeout object. These objects are stored in a pool. |
50 |
MinPoolSize |
Specifies the minimum size of the pool of Timeout objects. |
50 |
MaxPoolSize |
Specifies the maximum size of the pool of Timeout objects. |
1000 |
ChangePoolSizeStep |
Specifies the step at which the pool size is changed. |
50 |
InternalThreadPriority |
Specifies the priority of a Timeout Manager thread. |
5 |
ErrorLogFileName |
Specifies the filename to which error log messages are written. |
./managers/log /ERROR.log |
CriticalLogLevel |
Specifies the types of log messages have critical priority. It is a number from 0 to 7 specifying that log messages within [CriticalLogLevel,7] are written in the DefaultCriticalFile. |
3 |
NormalLogFileName |
This parameter specifies the filename to which messages with normal priority are written. This file is used by the Log viewer of the system to display the messages. |
DEFAULT.log |
InfoLogFileName |
Specifies the filename to which info log messages for Timeout Manager are written. |
./managers/log
/timeout/INFO.log |
CriticalLogFileName |
Specifies the filename to which critical log messages are written. |
./managers/log
/CRITICAL.log |
NormalLogLevel |
Specifies the types of log messages that have normal priority. It is a number from 0 to 7 specifying that log messages within [0,NormalLogLevel] are written in the DefaultNormalFile. |
5 |
AlertLogFileName |
Specifies the filename to which alert log messages are written. |
./managers/log /ALERT.log |
EmergencyLogFileName |
Specifies the filename to which emergency log messages are written. |
./managers/log
/EMERGENCY.log |
DebugLogFileName |
Specifies the filename to which debug log messages for Timeout Manager are written. |
./managers/log
/timeout/DEBUG.log |
NoticeLogFileName |
Specifies the filename to which notice log messages for Timeout Manager are written. |
./managers/log
/timeout/NOTICE.log |
WarningLogFileName |
Specifies the filename to which warning log messages for Timeout Manager are written.
|
./managers/log /timeout/WARNING.log |
|
Server |
|
Property |
Description |
Default Value |
|
|
|
InitialPoolSize |
Specifies the initial size of the pool of Timeout objects.
Note
:
In Timeout Manager, each task to be executed is represented by a Timeout object. These objects are stored in a pool. |
50 |
MinPoolSize |
Specifies the minimum size of the pool of Timeout objects. |
50 |
MaxPoolSize |
Specifies the maximum size of the pool of Timeout objects. |
1000 |
ChangePoolSizeStep |
Specifies the step at which the pool size is changed. |
50 |
InternalThreadPriority |
Specifies the priority of a Timeout Manager thread. |
5 |
ErrorLogFileName |
Specifies the filename to which error log messages are written. |
./managers/log /ERROR.log |
CriticalLogLevel |
Specifies the types of log messages that have critical priority. It is a number from 0 to 7 specifying that log messages within [CriticalLogLevel,7] are written in the DefaultCriticalFile. |
3 |
NormalLogFileName |
Specifies the filename to which messages with normal priority are written. This file is used by the Log viewer of the system to display the messages. |
DEFAULT.log |
InfoLogFileName |
Specifies the filename to which info log messages for Timeout Manager are written. |
./managers/log
/timeout/INFO.log |
CriticalLogFileName |
Specifies the filename to which critical log messages are written. |
./managers/log
/CRITICAL.log |
NormalLogLevel |
Specifies the types of log messages that have normal priority. It is a number from 0 to 7 specifying that log messages within [0,NormalLogLevel] are written in the DefaultNormalFile. |
5 |
AlertLogFileName |
Specifies the filename to which alert log messages are written. |
./managers/log /ALERT.log |
EmergencyLogFileName |
Specifies the filename to which emergency log messages are written. |
./managers/log
/EMERGENCY.log |
DebugLogFileName |
Specifies the filename to which debug log messages for Timeout Manager are written. |
./managers/log
/timeout/DEBUG.log |
NoticeLogFileName |
Specifies the filename to which notice log messages for Timeout Manager are written. |
./managers/log
/timeout/NOTICE.log |
WarningLogFileName |
Specifies the filename to which warning log messages for Timeout Manager are written.
|
./managers/log
/timeout/WARNING.log |
../cluster/dispatcher/managers/settings/TimeoutManager.properties
Timeout Manager properties specified in the
Visual Administrator
section can be set from this property file as well.
../cluster/server/managers/settings/TimeoutManager.properties
Timeout Manager properties specified in the
Visual Administrator
section can be set from this property file as well.
The system administrator can change the size of the pool of Timeout objects. However, this requires more system memory resources. If the value of the InternalThreadPriority property is increased, the corresponding thread is of higher priority and therefore processes registered Timeout objects more accurately. This can increase system CPU usage time.