Package schrodinger :: Package job :: Module queue :: Class LocalhostJob
[hide private]
[frames] | no frames]

Class LocalhostJob

RequirementsJob --+
                  |
                 LocalhostJob

This class should be used as a mixin on a job type that requires jobs to be run on localhost.

Only one of these jobs will be run at a time.

Instance Methods [hide private]
 
__init__(self)
 
getRequirements(self, jobdj)
Start a job if the requirements are available.
Class Variables [hide private]
  requirement = "localhost"
hash(x)
  init_count = 0
Method Details [hide private]

getRequirements(self, jobdj)

 

Start a job if the requirements are available. If the job was started, return True, if not, return False.

Overrides: RequirementsJob.getRequirements
(inherited documentation)