Exception: Cassandra::Errors::WriteTimeoutError
- Inherits:
-
StandardError
- Object
- StandardError
- Cassandra::Errors::WriteTimeoutError
- Includes:
- ExecutionError
- Defined in:
- lib/cassandra/errors.rb
Overview
Raised when a write 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 acks received by the time the query timed out.
-
#required ⇒ Integer
readonly
The number of acks required to achieve requested consistency level.
-
#type ⇒ Symbol
readonly
The type of write request that timed out, one of WRITE_TYPES.
Attributes included from ExecutionError
Instance Attribute Details
#consistency ⇒ Symbol (readonly)
Returns the original consistency level for the request, one of CONSISTENCIES.
158 159 160 |
# File 'lib/cassandra/errors.rb', line 158 def consistency @consistency end |
#received ⇒ Integer (readonly)
Returns the number of acks received by the time the query timed out.
164 165 166 |
# File 'lib/cassandra/errors.rb', line 164 def received @received end |
#required ⇒ Integer (readonly)
Returns the number of acks required to achieve requested consistency level.
161 162 163 |
# File 'lib/cassandra/errors.rb', line 161 def required @required end |
#type ⇒ Symbol (readonly)
Returns the type of write request that timed out, one of WRITE_TYPES.
155 156 157 |
# File 'lib/cassandra/errors.rb', line 155 def type @type end |