Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
Include inherited methods in ConnPool docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thobbs committed Mar 31, 2011
1 parent 179a557 commit e44b76b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
11 changes: 10 additions & 1 deletion doc/api/pycassa/pool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,13 @@
=========================================

.. automodule:: pycassa.pool
:members:

.. autoclass:: pycassa.pool.ConnectionPool
:members:
:inherited-members:

.. autoclass:: pycassa.pool.ConnectionWrapper
:members:

.. autoclass:: pycassa.pool.PoolListener
:members:
12 changes: 4 additions & 8 deletions pycassa/pool.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
"""
Connection pooling for Cassandra connections.
Provides a number of connection pool implementations for a variety of
usage scenarios and thread behavior requirements imposed by the
application.
"""

import time, threading, random
Expand Down Expand Up @@ -76,10 +72,10 @@ def set_server_list(self, server_list):
"""
Sets the server list that the pool will make connections to.
:param server_list: A sequence of servers in the form 'host:port' that
the pool will connect to. The list will be randomly permuted before
being used. `server_list` may also be a function that returns the
sequence of servers.
`server_list` should be sequence of servers in the form 'host:port' that
the pool will connect to. The list will be randomly permuted before
being used. `server_list` may also be a function that returns the
sequence of servers.
"""

Expand Down

0 comments on commit e44b76b

Please sign in to comment.