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

Method _cancel_timer

cassandra/cluster.py:4441–4443  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4439 self._timer = self.session.cluster.connection_class.create_timer(self._time_remaining, self._on_timeout)
4440
4441 def _cancel_timer(self):
4442 if self._timer:
4443 self._timer.cancel()
4444
4445 def _on_timeout(self, _attempts=0):
4446 """

Callers 3

_set_resultMethod · 0.95
_set_final_resultMethod · 0.95
_set_final_exceptionMethod · 0.95

Calls 1

cancelMethod · 0.45

Tested by

no test coverage detected