Menu

cassandra.io.asyncorereactor - asyncore Event Loop

class cassandra.io.asyncorereactor.AsyncoreConnection(*args, **kwargs)[source]

An implementation of Connection that uses the asyncore module in the Python standard library for its event loop.

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.

classmethod handle_fork()[source]

Called after a forking. This should cleanup any remaining reactor state from the parent process.