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

Class LocalhostJob

     object --+    
              |    
RequirementsJob --+
                  |
                 LocalhostJob
Known Subclasses:

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)
x.__init__(...) initializes x; see help(type(x)) for signature
 
getRequirements(self, jobdj)
Start a job if the requirements are available.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  requirement = 'localhost'
hash(x)
  init_count = 0
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

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)