Public Member Functions | |
def | close |
def | initialize |
def | resolve |
Public Attributes | |
close_executor | |
executor | |
io_loop |
Resolver implementation using a `concurrent.futures.Executor`. Use this instead of `ThreadedResolver` when you require additional control over the executor being used. The executor will be shut down when the resolver is closed unless ``close_resolver=False``; use this if you want to reuse the same executor elsewhere.
Definition at line 295 of file netutil.py.
def tornado.netutil.ExecutorResolver.close | ( | self | ) |
Closes the `Resolver`, freeing any resources used. .. versionadded:: 3.1
Reimplemented from tornado.netutil.Resolver.
Definition at line 314 of file netutil.py.
def tornado.netutil.ExecutorResolver.initialize | ( | self, | |
io_loop = None , |
|||
executor = None , |
|||
close_executor = True |
|||
) |
Definition at line 305 of file netutil.py.
def tornado.netutil.ExecutorResolver.resolve | ( | self, | |
host, | |||
port, | |||
family = socket.AF_UNSPEC |
|||
) |
Definition at line 320 of file netutil.py.
Definition at line 305 of file netutil.py.
Definition at line 305 of file netutil.py.
Definition at line 305 of file netutil.py.