Exception: Cassandra::Errors::ReadTimeoutError
- Inherits:
-
StandardError
- Object
- StandardError
- Cassandra::Errors::ReadTimeoutError
- Includes:
- ExecutionError
- Defined in:
- lib/cassandra/errors.rb
Overview
Raised when a read request timed out.
Instance Attribute Summary collapse
-
#consistency ⇒ Symbol
readonly
The original consistency level for the request, one of CONSISTENCIES.
-
#received ⇒ Integer
readonly
The number of responses received by the time the query timed out.
-
#required ⇒ Integer
readonly
The number of responses required to achieve requested consistency level.
-
#retrieved ⇒ Boolean
(also: #retrieved?)
readonly
Whether actual data (as opposed to data checksum) was present in the received responses.
Method Summary
Methods included from ExecutionError
Instance Attribute Details
#consistency ⇒ Symbol (readonly)
294 295 296 |
# File 'lib/cassandra/errors.rb', line 294 def consistency @consistency end |
#received ⇒ Integer (readonly)
300 301 302 |
# File 'lib/cassandra/errors.rb', line 300 def received @received end |
#required ⇒ Integer (readonly)
297 298 299 |
# File 'lib/cassandra/errors.rb', line 297 def required @required end |
#retrieved ⇒ Boolean (readonly) Also known as: retrieved?
289 290 291 |
# File 'lib/cassandra/errors.rb', line 289 def retrieved @retrieved end |