|
|
__init__(self,
host,
max_limit=0,
max_retry=0,
sleep=10)
`host' specifies hosts and maximum numbers of jobs for each host by
passing a list of (<host>, <max_jobs>) tuples. |
|
|
|
|
| _allocate_impl(self,
num_cpu) |
|
|
|
|
| _get_host(self,
raw_host) |
|
|
|
|
_push_to_jobdj(self,
job)
`job' must be a single job object. |
|
|
|
|
|
|
|
| free(self,
host,
num_cpu) |
|
|
|
|
push(self,
job)
`job' can be a single job object or a list of job objects. |
|
|
|
|
|
|
|
| reset(self,
host,
max_limit=0,
max_retry=0,
sleep=10) |
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|