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
dtm.EventObjects.UpdateTask Class Reference

UpdateTask event object, for update task field operation. More...

Inheritance diagram for dtm.EventObjects.UpdateTask:
Collaboration diagram for dtm.EventObjects.UpdateTask:

Public Member Functions

def __init__ (self, taskId)
 constructor initialize task's fields More...
 
- 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...
 
- 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...
 

Additional Inherited Members

- Static Public Attributes inherited from dtm.EventObjects.Task
int FILE_ACTION_CREATE_BEFORE = 1
 
int FILE_ACTION_DELETE_BEFORE = 2
 
int FILE_ACTION_READ_AFTER = 4
 
int FILE_ACTION_DELETE_AFTER = 8
 
int FILE_ACTION_BASE64_ENCODED = 2147483648
 
string STRATEGY_DATE = "DATE"
 
string STRATEGY_DATE_MAX = "DATE_MAX"
 
string STRATEGY_DATE_SHIFT = "DATE_SHIFT"
 
string STRATEGY_CPU = "CPU"
 
string STRATEGY_RAM_FREE = "RAM_FREE"
 
string STRATEGY_RAM = "RAM"
 
string STRATEGY_DISK_FREE = "DISK_FREE"
 
string STRATEGY_DISK = "DISK"
 
string STRATEGY_TIME = "TIME"
 
string STRATEGY_THREADS = "THREADS"
 
string STRATEGY_SDELAY = "SDELAY"
 
string STRATEGY_RDELAY = "RDELAY"
 
string STRATEGY_RETRY = "RETRY"
 
string STRATEGY_PRIORITY = "PRIORITY"
 
string STRATEGY_CPU_LOAD_MAX = "CPU_LOAD_MAX"
 
string STRATEGY_IO_WAIT_MAX = "IO_WAIT_MAX"
 
string STRATEGY_autoCleanupFields = "autoCleanupFields"
 
string STRATEGY_AUTOCLEANUP_TTL = "TTL"
 
string STRATEGY_AUTOCLEANUP_DELETE_TYPE = "DeleteType"
 
string STRATEGY_AUTOCLEANUP_DELETE_RETRIES = "DeleteRetries"
 
string STRATEGY_AUTOCLEANUP_SSTATE = "State"
 
int TASK_MODE_SYNCH = 1
 
int TASK_MODE_ASYNCH = 2
 
int TIME_MAX_DEFAULT = 60000
 
int TASK_TYPE_SHELL = 0
 
int TASK_TYPE_SSH = 1
 
int TYPE_DEFAULT = 0
 

Detailed Description

UpdateTask event object, for update task field operation.

The update task object used to update task representation inside DTM application.

Definition at line 200 of file EventObjects.py.

Constructor & Destructor Documentation

◆ __init__()

def dtm.EventObjects.UpdateTask.__init__ (   self,
  taskId 
)

constructor initialize task's fields

Parameters
taskIdThe task's unique identifier.

Definition at line 206 of file EventObjects.py.

206  def __init__(self, taskId):
207  super(UpdateTask, self).__init__()
208 
210  self.id = taskId
211 
212 
213 
def __init__(self)
constructor
Definition: UIDGenerator.py:19

Member Data Documentation

◆ id

dtm.EventObjects.UpdateTask.id

The task Id.

Definition at line 210 of file EventObjects.py.


The documentation for this class was generated from the following file: