Public Member Functions | |
def | initialize |
Private Member Functions | |
def | _create_threadpool |
Static Private Attributes | |
_threadpool = None | |
_threadpool_pid = None |
Multithreaded non-blocking `Resolver` implementation. Requires the `concurrent.futures` package to be installed (available in the standard library since Python 3.2, installable with ``pip install futures`` in older versions). The thread pool size can be configured with:: Resolver.configure('tornado.netutil.ThreadedResolver', num_threads=10) .. versionchanged:: 3.1 All ``ThreadedResolvers`` share a single thread pool, whose size is set by the first one to be created.
Definition at line 343 of file netutil.py.
def tornado.netutil.ThreadedResolver._create_threadpool | ( | cls, | |
num_threads | |||
) | [private] |
Definition at line 368 of file netutil.py.
def tornado.netutil.ThreadedResolver.initialize | ( | self, | |
io_loop = None , |
|||
num_threads = 10 |
|||
) |
Definition at line 362 of file netutil.py.
tornado::netutil.ThreadedResolver::_threadpool = None [static, private] |
Definition at line 359 of file netutil.py.
tornado::netutil.ThreadedResolver::_threadpool_pid = None [static, private] |
Definition at line 360 of file netutil.py.