Package src :: Module pyflow :: Class WorkflowRunnerThreadSharedData
[hide private]
[frames] | no frames]

Class WorkflowRunnerThreadSharedData

source code


All data used by the WorkflowRunner which will be constant over the lifetime of a TaskManager instance. All of the information in this class will be accessed by both threads without locking.

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_setCustomLogs(self) source code
 
setupNewRun(self, param) source code
 
resetRun(self)
Anything that needs to be cleaned up at the end of a run
source code
 
getRunid(self) source code
 
setTaskError(self, *args, **kw) source code
 
isTaskError(self, *args, **kw) source code
 
isTaskSubmissionActive(self)
wait() pollers need to know if task submission has been shutdown to implement sane behavior.
source code
 
setTaskManagerException(self, *args, **kw) source code
 
flowLog(self, *args, **kw) source code
 
getInfoMsg(self)
return a string array with general stats about this run
source code
 
emailNotification(self, msgList, emailErrorLog=None) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
_validateFixParam(param)
validate and refine raw run() parameters for use by workflow
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

resetRun(self)

source code 

Anything that needs to be cleaned up at the end of a run

Right now this just make sure we don't log to the previous run's log file

setTaskError(self, *args, **kw)

source code 
Decorators:
  • @lockMethod

isTaskError(self, *args, **kw)

source code 
Decorators:
  • @lockMethod

setTaskManagerException(self, *args, **kw)

source code 
Decorators:
  • @lockMethod

flowLog(self, *args, **kw)

source code 
Decorators:
  • @lockMethod