Add WhiteListRRPolicy to API docs
This commit is contained in:
@@ -394,7 +394,8 @@ class WhiteListRoundRobinPolicy(RoundRobinPolicy):
|
|||||||
"""
|
"""
|
||||||
def __init__(self, hosts):
|
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
|
self._allowed_hosts = hosts
|
||||||
RoundRobinPolicy.__init__(self)
|
RoundRobinPolicy.__init__(self)
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ Load Balancing
|
|||||||
.. autoclass:: DCAwareRoundRobinPolicy
|
.. autoclass:: DCAwareRoundRobinPolicy
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
|
.. autoclass:: WhiteListRoundRobinPolicy
|
||||||
|
:members:
|
||||||
|
|
||||||
.. autoclass:: TokenAwarePolicy
|
.. autoclass:: TokenAwarePolicy
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user