|
__init__(self,
result_container=None,
verbose=False,
n_threads=1,
copy_callable=True)
Initialize the scheduler. |
|
|
|
_process_task(self,
data,
task_callable,
task_index)
Add a task, if possible without blocking. |
|
|
|
_task_thread(self,
data,
task_callable,
task_index)
Thread function which processes a single task. |
|
|
Inherited from unreachable.newobject :
__long__ ,
__native__ ,
__nonzero__ ,
__unicode__ ,
next
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
|
|
__exit__(self,
type,
value,
traceback)
Shutdown the scheduler. |
|
|
|
_shutdown(self)
Hook method for shutdown to be used in custom schedulers. |
|
|
|
_store_result(self,
result,
task_index)
Store a result in the internal result container. |
|
|
|
add_task(self,
data,
task_callable=None)
Add a task to be executed. |
|
|
|
get_results(self)
Get the accumulated results from the result container. |
|
|
|
set_task_callable(self,
task_callable)
Set the callable that will be used if no task_callable is given. |
|
|
|
shutdown(self)
Controlled shutdown of the scheduler. |
|
|