Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.worker.worker.Worker Class Reference
Inheritance diagram for cpc.worker.worker.Worker:

Public Member Functions

def getID
 
def getWorkerDir
 
def killWorkload
 
def run
 
def cleanup
 
def shutdown
 

Public Attributes

 runLock
 
 runCondVar
 
 conf
 
 opts
 
 type
 
 args
 
 quit
 
 id
 
 quitSeconds
 
 workerTopDir
 
 mainDir
 
 workerTopDirCreated
 
 heartbeat
 
 plugin
 
 platforms
 
 remainingPlatforms
 
 workloads
 
 iteration
 
 acceptCommands
 
 exelist
 

Detailed Description

The worker class creates a worker client that contacts a server
   and asks for tasks.

Member Function Documentation

def cpc.worker.worker.Worker.cleanup (   self)
def cpc.worker.worker.Worker.getID (   self)
def cpc.worker.worker.Worker.getWorkerDir (   self)
def cpc.worker.worker.Worker.killWorkload (   self,
  cmdID 
)
Kill a workload by command ID.
def cpc.worker.worker.Worker.run (   self)
Ask for tasks until told to quit.
def cpc.worker.worker.Worker.shutdown (   self)
Shut down this worker cleanly. This must be called from a thread,
   not directly from a signal handler.

Member Data Documentation

cpc.worker.worker.Worker.acceptCommands
cpc.worker.worker.Worker.args
cpc.worker.worker.Worker.conf
cpc.worker.worker.Worker.exelist
cpc.worker.worker.Worker.heartbeat
cpc.worker.worker.Worker.id
cpc.worker.worker.Worker.iteration
cpc.worker.worker.Worker.mainDir
cpc.worker.worker.Worker.opts
cpc.worker.worker.Worker.platforms
cpc.worker.worker.Worker.plugin
cpc.worker.worker.Worker.quit
cpc.worker.worker.Worker.quitSeconds
cpc.worker.worker.Worker.remainingPlatforms
cpc.worker.worker.Worker.runCondVar
cpc.worker.worker.Worker.runLock
cpc.worker.worker.Worker.type
cpc.worker.worker.Worker.workerTopDir
cpc.worker.worker.Worker.workerTopDirCreated
cpc.worker.worker.Worker.workloads

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