MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / try_reconnect

Method try_reconnect

cassandra/pool.py:350–351  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

348 self.connection_factory = connection_factory
349
350 def try_reconnect(self):
351 return self.connection_factory()
352
353 def on_reconnection(self, connection):
354 log.info("Successful reconnection to %s, marking node up if it isn't already", self.host)

Callers

nothing calls this directly

Calls 1

connection_factoryMethod · 0.45

Tested by

no test coverage detected