Jump to >

This documentation covers the in-development release of Review Board. You can see the latest stable docs or all previous versions.



Return the hosts currently configured for memcached.

Returns:A list of memcached hostnames or UNIX paths.
Return type:list of unicode

Return whether or not cache stats are supported.

Returns:True if cache stats are supported for the current cache setup. False if cache stats are not supported.
Return type:bool

Return statistics for all supported cache backends.

This only supports memcached backends.

Returns:Each list item corresponds to one configured memcached server. The item is a tuple in the form of (hostname, stats), where stats is a dictionary with statistics from the cache server.

If no memcached servers are configured, this will return None instead.

Return type:list of tuple