def __init__(self, component): BaseHandler.__init__(self, component) # define a slave threadpool to handle messages self.threadpool = ThreadPool(\ "WMComponent.FeederManager.Handler.DefaultAddDatasetWatchSlave", \ self.component, 'AddDatasetWatch', \ self.component.config.FeederManager.maxThreads)
def __init__(self, component): BaseHandler.__init__(self, component) # define a slave threadpool to handle messages self.threadpool = ThreadPool(\ "WMComponent.FeederManager.Handler.DefaultAddDatasetWatchSlave", \ self.component, 'AddDatasetWatch', \ self.component.config.FeederManager.maxThreads)
def __init__(self, component): BaseHandler.__init__(self, component) # Define a slave threadpool self.threadpool = ThreadPool(\ "WMComponent.WorkflowManager.Handler.AddToWorkflowManagementLocationListSlave", \ self.component, 'AddToWorkflowManagementLocationList', \ self.component.config.WorkflowManager.maxThreads)
def __init__(self, component): BaseHandler.__init__(self, component) # Define a slave threadpool self.threadpool = ThreadPool(\ "WMComponent.WorkflowManager.Handler.AddWorkflowToManageSlave", \ self.component, 'AddWorkflowToManage', \ self.component.config.WorkflowManager.maxThreads)
def __init__(self, component): BaseHandler.__init__(self, component) # Define a slave threadpool self.threadpool = ThreadPool(\ "WMComponent.WorkflowManager.Handler.RemoveWorkflowFromManagementSlave", \ self.component, 'RemoveWorkflowFromManagement', \ self.component.config.WorkflowManager.maxThreads)
def __init__(self, component): #super class init BaseHandler.__init__(self, component) print self.component.pollInterval self.monitorFlag = True self.jobavaliableflag = False myThread = threading.currentThread() self.logger = myThread.logger
def __init__(self, component): BaseHandler.__init__(self, component) # Define a slave threadpool self.threadpool = ThreadPool(\ "WMComponent.WorkflowManager.Handler.AddWorkflowToManageSlave", \ self.component, 'AddWorkflowToManage', \ self.component.config.WorkflowManager.maxThreads)
def __init__(self, component): BaseHandler.__init__(self, component) # define a slave threadpool (this is optional # and depends on the developer deciding how he/she # wants to implement certain logic. self.threadpool = ThreadPool(\ "TQComp.Handler.TaskHandlerSlave", \ self.component, 'default', \ self.component.config.TQComp.maxThreads)
def __init__(self, component): BaseHandler.__init__(self, component) # define a slave threadpool (this is optional # and depends on the developer deciding how he/she # wants to implement certain logic. self.nThreads = 5 self.threadpool = ThreadPool(\ "WMCore.WMSpec.Makers.Handlers.MakeJobSlave", \ self.component, 'MakeJob', \ self.nThreads) myThread = threading.currentThread() myThread.msgService.purgeMessages()
def __init__(self, component): BaseHandler.__init__(self, component) # define a slave threadpool (this is optional # and depends on the developer deciding how he/she # wants to implement certain logic. self.nThreads = 5 self.threadpool = ThreadPool(\ "WMCore.WMSpec.Makers.Handlers.MakeJobSlave", \ self.component, 'MakeJob', \ self.nThreads) myThread = threading.currentThread() myThread.msgService.purgeMessages()
def __init__(self, component): BaseHandler.__init__(self, component) print "MAKESTART"
def __init__(self, component): BaseHandler.__init__(self, component)
def __init__(self, component): BaseHandler.__init__(self, component)
def __init__(self, component): BaseHandler.__init__(self, component) print "MAKESTART"
def __init__(self, component): #super class init BaseHandler.__init__(self, component) myThread = threading.currentThread() self.logger = myThread.logger
def __init__(self, component): #super class init self.jobs = {} self.jobavaliableflag = False BaseHandler.__init__(self, component)