PL/SQL API jcs_odf.alter_queue
Summary
Alter a queue.
note
This procedure does not add, remove or modify process servers serving this queue. You can manage those by using jcs_odf.create_queue_scheduler, jcs_odf.alter_queue_scheduler and jcs_odf.drop_queue_scheduler.
Specification
procedure alter_queue(name in varchar2,
description in varchar2 default const.def_str,
execution_size in number default const.def_num,
hold in varchar2 default const.def_str,
hold_level in number default const.def_num,
hold_above_cpu_load in number default const.def_num,
hold_above_page_rate in number default const.def_num,
time_window_name in varchar2 default const.def_str,
overdue in varchar2 default const.def_str,
version in number default null,
comment_text in varchar2 default const.def_str,
application_name in varchar2 default const.def_str,
inclusive in varchar2 default const.def_str,
partition in varchar2 default const.def_str,
time_window_partition in varchar2 default const.def_str,
application_partition in varchar2 default const.def_str,
timezone_name in varchar2 default const.def_str)
Parameters
- name - the name of the queue
- description - the description of the queue
- execution_size - the maximum number of concurrent jobs in the queue (with status RUNNING, WAITING or CONSOLE)
- hold - 'Y' or 'N': the status on queue creation
- hold_level - hold jobs with a priority lower than the specified number
- hold_above_cpu_load - hold jobs when the system CPU load exceeds the specified number
- hold_above_page_rate - hold jobs when the memory paging rate exceeds the specified number
- time_window_name - the time window during which the queue will release jobs
- overdue - set scripts that are not run within their time window to status OVERDUE
- version - the version number of the queue
- comment_text - a text with comments on the queue
- application_name - the application the queue belongs to
- inclusive - 'Y' or 'N': execution_size includes jobs with status WAITING
- partition - the partition of the queue
- time_window_partition - the partition of the time window during which the queue will release jobs
- application_partition - the partition of the application the queue belongs to
- timezone_name - the timezone this queue should be interpreted in
note
Set execution_size to NULL to emulate the jcs 'SIZE UNLIMITED' phrase.
See Also
plsqlTopic
onsiteTopic