HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
2.0.0-chaika
Hierarchical Cluster Engine Python language binding
|
NewTask event object, defines the Task object fields. More...
Public Member Functions | |
def | __init__ (self, taskCommandLine, taskId=None, name=None) |
constructor initialize task's fields More... | |
def | toJSON (self) |
Public Member Functions inherited from dtm.EventObjects.Task | |
def | __init__ (self) |
constructor initialize task's fields More... | |
def | setSessionVar (self, sessionVarName, sessionVarValue) |
Set the OS session variable for EE process. More... | |
def | setStrategyVar (self, strategyVarName, strategyVarValue) |
Set the strategy variable. More... | |
def | setFile (self, fileItem) |
Set the file item. More... | |
def | setLimitsVar (self, limitsVarName, limitsVarValue) |
Set the limits variable. More... | |
Public Attributes | |
id | |
The task Id. More... | |
name | |
command | |
The task command line to execute inside EE. More... | |
input | |
The task cstdin stream buffer for EE process. More... | |
Public Attributes inherited from dtm.EventObjects.Task | |
id | |
The task Id. More... | |
command | |
The task command line to execute inside EE. More... | |
input | |
The task cstdin stream buffer for EE process. More... | |
files | |
The task files items attached init. More... | |
session | |
The task session items init. More... | |
strategy | |
The task strategy items init. More... | |
limits | |
The task limits init. More... | |
autoCleanupFields | |
The task autoCleanupFields init. More... | |
type | |
The task type init. More... | |
name | |
The task name init. More... | |
NewTask event object, defines the Task object fields.
The task object used to create new task representation inside DTM application. This is a main data unit that is used by DTM inside to operate.
Definition at line 151 of file EventObjects.py.
def dtm.EventObjects.NewTask.__init__ | ( | self, | |
taskCommandLine, | |||
taskId = None , |
|||
name = None |
|||
) |
constructor initialize task's fields
taskCommandLine | The task's command line to execute in EE. |
taskId | The task's unique identifier, optional if omitted - generated as crc32 of the command. |
Definition at line 158 of file EventObjects.py.
def dtm.EventObjects.NewTask.toJSON | ( | self | ) |
Definition at line 192 of file EventObjects.py.
dtm.EventObjects.NewTask.command |
The task command line to execute inside EE.
Definition at line 173 of file EventObjects.py.
dtm.EventObjects.NewTask.id |
The task Id.
Definition at line 166 of file EventObjects.py.
dtm.EventObjects.NewTask.input |
The task cstdin stream buffer for EE process.
Definition at line 176 of file EventObjects.py.
dtm.EventObjects.NewTask.name |
Definition at line 170 of file EventObjects.py.