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
readonly
Whether actual data (as opposed to data checksum) was present in the received responses.
Attributes included from ExecutionError
Instance Method Summary collapse
Instance Attribute Details
#consistency ⇒ Symbol (readonly)
Returns the original consistency level for the request, one of CONSISTENCIES.
188 189 190 |
# File 'lib/cassandra/errors.rb', line 188 def consistency @consistency end |
#received ⇒ Integer (readonly)
Returns the number of responses received by the time the query timed out.
194 195 196 |
# File 'lib/cassandra/errors.rb', line 194 def received @received end |
#required ⇒ Integer (readonly)
Returns the number of responses required to achieve requested consistency level.
191 192 193 |
# File 'lib/cassandra/errors.rb', line 191 def required @required end |
#retrieved ⇒ Boolean (readonly)
Returns whether actual data (as opposed to data checksum) was present in the received responses.
185 186 187 |
# File 'lib/cassandra/errors.rb', line 185 def retrieved @retrieved end |
Instance Method Details
#retrieved? ⇒ Boolean
206 207 208 |
# File 'lib/cassandra/errors.rb', line 206 def retrieved? @retrieved end |