Was this page helpful?
ScyllaDB Python Driver is available under the Apache v2 License. ScyllaDB Python Driver is a fork of DataStax Python Driver. See Copyright here.
Caution
You're viewing documentation for a previous version of Scylla Python Driver. Switch to the latest stable version.
cassandra.pool - Hosts and Connection Pools¶Connection pooling and host management.
Represents a single Cassandra node.
broadcast address configured for the node, if available:
‘system.local.broadcast_address’ or ‘system.peers.peer’ (Cassandra 2-3) ‘system.local.broadcast_address’ or ‘system.peers_v2.peer’ (Cassandra 4)
This is not present in the system.local table for older versions of Cassandra. It
is also not queried if token_metadata_enabled is False.
broadcast port configured for the node, if available:
‘system.local.broadcast_port’ or ‘system.peers_v2.peer_port’ (Cassandra 4)
It is also not queried if token_metadata_enabled is False.
The broadcast rpc address of the node:
‘system.local.rpc_address’ or ‘system.peers.rpc_address’ (Cassandra 3) ‘system.local.rpc_address’ or ‘system.peers.native_transport_address (DSE 6+)’ ‘system.local.rpc_address’ or ‘system.peers_v2.native_address (Cassandra 4)’
The broadcast rpc port of the node, if available:
‘system.local.rpc_port’ or ‘system.peers.native_transport_port’ (DSE 6+) ‘system.local.rpc_port’ or ‘system.peers_v2.native_port’ (Cassandra 4)
listen address configured for the node, if available:
‘system.local.listen_address’
This is only available in the system.local table for newer versions of Cassandra. It is also not
queried if token_metadata_enabled is False. Usually the same as broadcast_address
unless configured differently in cassandra.yaml.
listen port configured for the node, if available:
‘system.local.listen_port’
This is only available in the system.local table for newer versions of Cassandra. It is also not
queried if token_metadata_enabled is False.
True if the node is considered up, False if it is
considered down, and None if it is not known if the node is
up or down.
release_version as queried from the control connection system tables
dse_version as queried from the control connection system tables. Only populated when connecting to
DSE with this property available. Not queried if token_metadata_enabled is False.
DSE workload queried from the control connection system tables. Only populated when connecting to
DSE with this property available. Not queried if token_metadata_enabled is False.
This is a legacy attribute that does not portray multiple workloads in a uniform fashion.
See also dse_workloads.
DSE workloads set, queried from the control connection system tables. Only populated when connecting to
DSE with this property available (added in DSE 5.1).
Not queried if token_metadata_enabled is False.
A ConvictionPolicy instance for determining when this node should
be marked up or down.
The unique identifier of the cassandra node
The IP address of the endpoint. This is the RPC address the driver uses when connecting to the node.
The datacenter the node is in.
The rack the node is in.
All existing connections to a given host are busy, or there are no open connections.
Was this page helpful?
ScyllaDB Python Driver is available under the Apache v2 License. ScyllaDB Python Driver is a fork of DataStax Python Driver. See Copyright here.
On this page
cassandra.pool - Hosts and Connection PoolsHostHost.broadcast_addressHost.broadcast_portHost.broadcast_rpc_addressHost.broadcast_rpc_portHost.listen_addressHost.listen_portHost.is_upHost.release_versionHost.dse_versionHost.dse_workloadHost.dse_workloadsHost.endpointHost.conviction_policyHost.host_idHost.addressHost.datacenterHost.rackNoConnectionsAvailablecassandra - Exceptions and Enumscassandra.cluster - Clusters and Sessionscassandra.policies - Load balancing and Failure Handling Policiescassandra.auth - Authenticationcassandra.metadata - Schema and Ring Topologycassandra.metrics - Performance Metricscassandra.query - Prepared Statements, Batch Statements, Tracing, and Row Factoriescassandra.pool - Hosts and Connection Poolscassandra.protocol - Protocol Featurescassandra.encoder - Encoders for non-prepared Statementscassandra.decoder - Data Return Formatscassandra.concurrent - Utilities for Concurrent Statement Executioncassandra.connection - Low Level Connection Infocassandra.util - Utilitiescassandra.timestamps - Timestamp Generationcassandra.io.asyncioreactor - asyncio Event Loopcassandra.io.asyncorereactor - asyncore Event Loopcassandra.io.eventletreactor - eventlet-compatible Connectioncassandra.io.libevreactor - libev Event Loopcassandra.io.geventreactor - gevent-compatible Event Loopcassandra.io.twistedreactor - Twisted Event Loopcassandra.cqlengine.models - Table models for object mappingcassandra.cqlengine.columns - Column types for object mapping modelscassandra.cqlengine.query - Query and filter model objectscassandra.cqlengine.connection - Connection management for cqlenginecassandra.cqlengine.management - Schema management for cqlenginecassandra.cqlengine.usertype - Model classes for User Defined Types