MCPcopy Create free account
hub / github.com/apache/cloudstack / run

Method run

tools/marvin/marvin/asyncJobMgr.py:119–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 return jobstatus
118
119 def run(self):
120 while self.inqueue.qsize() > 0:
121 job = self.inqueue.get()
122 if isinstance(job, jobStatus):
123 jobstatus = self.queryAsynJob(job)
124 else:
125 jobstatus = self.executeCmd(job)
126
127 self.output.put(jobstatus)
128 self.inqueue.task_done()
129
130
131class jobThread(threading.Thread):

Callers

nothing calls this directly

Calls 4

queryAsynJobMethod · 0.95
executeCmdMethod · 0.95
getMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected