Add WhiteListRRPolicy to API docs
This commit is contained in:
@@ -394,7 +394,8 @@ class WhiteListRoundRobinPolicy(RoundRobinPolicy):
|
||||
"""
|
||||
def __init__(self, hosts):
|
||||
"""
|
||||
:param hosts: List of hosts
|
||||
The `hosts` parameter should be a sequence of hosts to permit
|
||||
connections to.
|
||||
"""
|
||||
self._allowed_hosts = hosts
|
||||
RoundRobinPolicy.__init__(self)
|
||||
|
||||
@@ -18,6 +18,9 @@ Load Balancing
|
||||
.. autoclass:: DCAwareRoundRobinPolicy
|
||||
:members:
|
||||
|
||||
.. autoclass:: WhiteListRoundRobinPolicy
|
||||
:members:
|
||||
|
||||
.. autoclass:: TokenAwarePolicy
|
||||
:members:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user