Ejemplo n.º 1
0
 def __init__(self,taskList,threadPool,taskbufferIF,ddmIF):
     # initialize woker with no semaphore
     WorkerThread.__init__(self,None,threadPool,logger)
     # attributres
     self.taskList = taskList
     self.taskBufferIF = taskbufferIF
     self.ddmIF = ddmIF
Ejemplo n.º 2
0
 def __init__(self,taskDsList,threadPool,taskbufferIF,ddmIF,pid):
     # initialize woker with no semaphore
     WorkerThread.__init__(self,None,threadPool,logger)
     # attributres
     self.taskDsList = taskDsList
     self.taskBufferIF = taskbufferIF
     self.ddmIF = ddmIF
     self.msgType = 'contentsfeeder'
     self.pid     = pid
Ejemplo n.º 3
0
 def __init__(self,taskList,threadPool,taskbufferIF,ddmIF,implFactory,workQueueMapper):
     # initialize woker with no semaphore
     WorkerThread.__init__(self,None,threadPool,logger)
     # attributres
     self.taskList = taskList
     self.taskBufferIF = taskbufferIF
     self.ddmIF = ddmIF
     self.implFactory = implFactory
     self.workQueueMapper = workQueueMapper
     self.msgType = 'taskrefiner'
Ejemplo n.º 4
0
 def __init__(self,taskList,threadPool,taskbufferIF,ddmIF,implFactory,
              vo,prodSourceLabel):
     # initialize woker with no semaphore
     WorkerThread.__init__(self,None,threadPool,logger)
     # attributres
     self.taskList = taskList
     self.taskBufferIF = taskbufferIF
     self.ddmIF = ddmIF.getInterface(vo)
     self.implFactory = implFactory
     self.vo = vo
     self.prodSourceLabel = prodSourceLabel
Ejemplo n.º 5
0
 def __init__(self,inputList,threadPool,taskbufferIF,ddmIF,
              fullRW,prioRW):
     # initialize woker with no semaphore
     WorkerThread.__init__(self,None,threadPool,logger)
     # attributres
     self.inputList    = inputList
     self.taskBufferIF = taskbufferIF
     self.ddmIF        = ddmIF
     self.msgType      = 'taskbrokerage'
     self.fullRW       = fullRW
     self.prioRW       = prioRW
     self.numTasks     = 0