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

Method new_schedule

cassandra/policies.py:618–625  ·  view source on GitHub ↗

This should return a finite or infinite iterable of delays (each as a floating point number of seconds) in-between each failed reconnection attempt. Note that if the iterable is finite, reconnection attempts will cease once the iterable is exhausted.

(self)

Source from the content-addressed store, hash-verified

616 """
617
618 def new_schedule(self):
619 """
620 This should return a finite or infinite iterable of delays (each as a
621 floating point number of seconds) in-between each failed reconnection
622 attempt. Note that if the iterable is finite, reconnection attempts
623 will cease once the iterable is exhausted.
624 """
625 raise NotImplementedError()
626
627
628class ConstantReconnectionPolicy(ReconnectionPolicy):

Callers 2

_start_reconnectorMethod · 0.45
_reconnectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected