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

Method try_reconnect

cassandra/pool.py:307–313  ·  view source on GitHub ↗

Subclasses must implement this method. It should attempt to open a new Connection and return it; if a failure occurs, an Exception should be raised.

(self)

Source from the content-addressed store, hash-verified

305 self._cancelled = True
306
307 def try_reconnect(self):
308 """
309 Subclasses must implement this method. It should attempt to
310 open a new Connection and return it; if a failure occurs, an
311 Exception should be raised.
312 """
313 raise NotImplementedError()
314
315 def on_reconnection(self, connection):
316 """

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected