Menu

cassandra.io.geventreactor - gevent-compatible Event Loop

class cassandra.io.geventreactor.GeventConnection(*args, **kwargs)[source]

An implementation of Connection that utilizes gevent.

This implementation assumes all gevent monkey patching is active. It is not tested with partial patching.

classmethod initialize_reactor()[source]

Called once by Cluster.connect(). This should be used by implementations to set up any resources that will be shared across connections.