asynqueue.test.test_threads.TestableIterationGetter(threads.IterationGetter)
class documentation
Part of asynqueue.test.test_threads
(View In Hierarchy)
No class docstring
Method | loop | Just one iteration value per run of this method |
Inherited from PoolUser (via IterationGetter):
Class Method | setup | Sets up stuff class-wide, with all the potential pitfalls that entails. |
Class Method | shutdown | Shuts down all threads, returning a Deferred that fires
when everything's done, class-wide. |
Class Method | deferToThreadInPool | Runs the f-args-kw call combo in one of my threads,
returning a Deferred that fires with the eventual result. Can
be run from the class or any instance of me with the exact same result. |
Method | pool | Returns a reference to the class-wide threadpool, starting it if this is the first time it's been used. |
Inherited from PoolUser (via IterationGetter):
Class Method | setup | Sets up stuff class-wide, with all the potential pitfalls that entails. |
Class Method | shutdown | Shuts down all threads, returning a Deferred that fires
when everything's done, class-wide. |
Class Method | deferToThreadInPool | Runs the f-args-kw call combo in one of my threads,
returning a Deferred that fires with the eventual result. Can
be run from the class or any instance of me with the exact same result. |
Method | pool | Returns a reference to the class-wide threadpool, starting it if this is the first time it's been used. |
def
loop(self):
overrides asynqueue.threads.IterationGetter.loop
Just one iteration value per run of this method