Files
deb-kazoo/docs/api/client.rst
2012-09-07 17:00:29 -07:00

906 B

kazoo.client

kazoo.client

Public API

KazooClient()

__init__

handler

The ~kazoo.interfaces.IHandler strategy used by this client. Gives access to appropriate synchronization objects.

retry(func, args,*kwargs)

Runs the given function with the provided arguments, retrying if it fails because the ZooKeeper connection is lost, see retrying_commands.

state

A ~kazoo.protocol.states.KazooState attribute indicating the current higher-level connection state.

TransactionRequest