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

Class ReadTimeout

cassandra/__init__.py:460–479  ·  view source on GitHub ↗

A subclass of :exc:`Timeout` for read operations. This indicates that the replicas failed to respond to the coordinator node before the configured timeout. This timeout is configured in ``cassandra.yaml`` with the ``read_request_timeout_in_ms`` and ``range_request_timeout_in_ms

Source from the content-addressed store, hash-verified

458
459
460class ReadTimeout(Timeout):
461 """
462 A subclass of :exc:`Timeout` for read operations.
463
464 This indicates that the replicas failed to respond to the coordinator
465 node before the configured timeout. This timeout is configured in
466 ``cassandra.yaml`` with the ``read_request_timeout_in_ms``
467 and ``range_request_timeout_in_ms`` options.
468 """
469
470 data_retrieved = None
471 """
472 A boolean indicating whether the requested data was retrieved
473 by the coordinator from any replicas before it timed out the
474 operation
475 """
476
477 def __init__(self, message, data_retrieved=None, **kwargs):
478 Timeout.__init__(self, message, **kwargs)
479 self.data_retrieved = data_retrieved
480
481
482class WriteTimeout(Timeout):

Callers 1

to_exceptionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected