dse.connection - Low Level Connection Info

exception ConnectionException

An unrecoverable error was hit when attempting to use a connection, or the connection was already closed or defunct.

exception ConnectionShutdown

Raised when a connection has been marked as defunct or has been closed.

exception ConnectionBusy

An attempt was made to send a message through a Connection that was already at the max number of in-flight operations.

exception ProtocolError

Communication did not match the protocol that this driver expects.

class EndPoint

Represents the information to connect to a cassandra node.

Attributes

address

The IP address of the node. This is the RPC address the driver uses when connecting to the node

port

The port of the node.

ssl_options

SSL options specific to this endpoint.

Methods

resolve

()

Resolve the endpoint to an address/port. This is called only on socket connection.

class EndPointFactory

Methods

configure

(cluster)

This is called by the cluster during its initialization.

create

(row)

Create an EndPoint from a system.peers row.