Trivial: Add executor 'threading' in docstring
oslo.messaging supports three types of executors: blocking, eventlet and threading, so it's good to list all of them in docstring. Change-Id: Ief14d54b5f029cf3e9c79334e405dca5cf2dc13d
This commit is contained in:
parent
2ee6a2a480
commit
abc269b7e5
@ -225,8 +225,8 @@ def get_notification_listener(transport, targets, endpoints,
|
|||||||
:type targets: list of Target
|
:type targets: list of Target
|
||||||
:param endpoints: a list of endpoint objects
|
:param endpoints: a list of endpoint objects
|
||||||
:type endpoints: list
|
:type endpoints: list
|
||||||
:param executor: name of a message executor - for example
|
:param executor: name of message executor - available values are
|
||||||
'eventlet', 'blocking'
|
'eventlet', 'blocking' and 'threading'
|
||||||
:type executor: str
|
:type executor: str
|
||||||
:param serializer: an optional entity serializer
|
:param serializer: an optional entity serializer
|
||||||
:type serializer: Serializer
|
:type serializer: Serializer
|
||||||
@ -261,8 +261,8 @@ def get_batch_notification_listener(transport, targets, endpoints,
|
|||||||
:type targets: list of Target
|
:type targets: list of Target
|
||||||
:param endpoints: a list of endpoint objects
|
:param endpoints: a list of endpoint objects
|
||||||
:type endpoints: list
|
:type endpoints: list
|
||||||
:param executor: name of a message executor - for example
|
:param executor: name of message executor - available values are
|
||||||
'eventlet', 'blocking'
|
'eventlet', 'blocking' and 'threading'
|
||||||
:type executor: str
|
:type executor: str
|
||||||
:param serializer: an optional entity serializer
|
:param serializer: an optional entity serializer
|
||||||
:type serializer: Serializer
|
:type serializer: Serializer
|
||||||
|
@ -198,8 +198,8 @@ def get_rpc_server(transport, target, endpoints,
|
|||||||
:type target: Target
|
:type target: Target
|
||||||
:param endpoints: a list of endpoint objects
|
:param endpoints: a list of endpoint objects
|
||||||
:type endpoints: list
|
:type endpoints: list
|
||||||
:param executor: name of a message executor - for example
|
:param executor: name of message executor - available values are
|
||||||
'eventlet', 'blocking'
|
'eventlet', 'blocking' and 'threading'
|
||||||
:type executor: str
|
:type executor: str
|
||||||
:param serializer: an optional entity serializer
|
:param serializer: an optional entity serializer
|
||||||
:type serializer: Serializer
|
:type serializer: Serializer
|
||||||
|
@ -321,8 +321,8 @@ class MessageHandlingServer(service.ServiceBase, _OrderedTaskRunner):
|
|||||||
:param dispatcher: has a dispatch() method which is invoked for each
|
:param dispatcher: has a dispatch() method which is invoked for each
|
||||||
incoming request
|
incoming request
|
||||||
:type dispatcher: DispatcherBase
|
:type dispatcher: DispatcherBase
|
||||||
:param executor: name of message executor - for example
|
:param executor: name of message executor - available values are
|
||||||
'eventlet', 'blocking'
|
'eventlet', 'blocking' and 'threading'
|
||||||
:type executor: str
|
:type executor: str
|
||||||
"""
|
"""
|
||||||
self.conf = transport.conf
|
self.conf = transport.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user