OrsDistributedTaskManager_934abafab82311e8ab9dc86000a21918¶
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2021. |
| date: | Sep 14 2018 09:39 |
| dragonflyVersion: | |
| 4.0.0.514 (D) | |
| UUID: | 934abafab82311e8ab9dc86000a21918 |
Class Code¶
-
class
OrsPythonPlugins.OrsDistributedTaskManager_934abafab82311e8ab9dc86000a21918.OrsDistributedTaskManager_934abafab82311e8ab9dc86000a21918.OrsDistributedTaskManager_934abafab82311e8ab9dc86000a21918(varname=None, process_type: str = 'Queue')¶ -
CONSUMER= 'Consumer'¶
-
DEFAULT_QUEUE_PORT= 6379¶
-
QUEUE= 'Queue'¶
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>, <ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>, <ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>, <ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
clear_all()¶
-
clear_errors()¶
-
clear_finished()¶
-
clear_pending()¶
-
clear_selected(task_id_list)¶
-
static
clear_temporary_data()¶ This function will only delete temporary data generated from group tasks
-
closeWidget(name)¶ Requests to close the form with the provided name.
Parameters: name (str) – name of the form to close
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
getWidgetName()¶
-
get_process_type() → str¶
-
get_queue() → OrsHuey¶
-
get_queue_name()¶
-
get_queue_password() → str¶
-
get_queue_port() → int¶
-
is_consumer() → bool¶
-
is_queue_observer() → bool¶
-
keepAlive= False¶
-
multiple= True¶
-
on_delete()¶
-
classmethod
openGUI(process_type)¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1, show=True)¶ Instantiates the widget with the provided name. This is done only if it is not already instantiated.
Parameters: - name (str) – name of the widget to instantiate
- dock (str) – docking location in the main window (left, right, top, bottom, center, floating)
- tab (str) – name of the tab to dock in
- x (int) – position of top left corner of window in x. Use -1 for default value.
- y (int) – position of top left corner of window in y. Use -1 for default value.
- w (int) – width of window. Use -1 for default value.
- l (int) – height of window. Use -1 for default value.
- order (int.) – position of widget in docking location. Use -1 to put at the end.
- show (bool) – if
True, the form is also shown after being instantiated. If the form already exists, a “raise” is done. IfFalse, no call to show the form is made.
-
queue¶
-
reenqueue_errors()¶
-
reenqueue_executing()¶
-
reenqueue_selected(task_id_list)¶
-
savable= False¶
-
set_queue_name(queue_name)¶
-
set_queue_password(psw: str)¶
-
set_queue_port(port: int)¶
-
start_process()¶
-
classmethod
toolsMenu()¶
-
validatePackageVersion()¶
-