MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / signal_connection_failure

Method signal_connection_failure

cassandra/cluster.py:2064–2068  ·  view source on GitHub ↗
(self, host, connection_exc, is_host_addition, expect_host_to_be_down=False)

Source from the content-addressed store, hash-verified

2062 reconnection_handler.cancel()
2063
2064 def signal_connection_failure(self, host, connection_exc, is_host_addition, expect_host_to_be_down=False):
2065 is_down = host.signal_connection_failure(connection_exc)
2066 if is_down:
2067 self.on_down(host, is_host_addition, expect_host_to_be_down)
2068 return is_down
2069
2070 def add_host(self, endpoint, datacenter=None, rack=None, signal=True, refresh_nodes=True):
2071 """

Callers 3

run_add_or_renew_poolMethod · 0.45
_reconnect_internalMethod · 0.45
_signal_errorMethod · 0.45

Calls 1

on_downMethod · 0.95

Tested by

no test coverage detected