Exception: Aerospike::Exceptions::Timeout
- Defined in:
- lib/aerospike/aerospike_exception.rb
Instance Attribute Summary collapse
-
#failed_connections ⇒ Object
readonly
Returns the value of attribute failed_connections.
-
#failed_nodes ⇒ Object
readonly
Returns the value of attribute failed_nodes.
-
#iterations ⇒ Object
readonly
Returns the value of attribute iterations.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
Attributes inherited from Aerospike
Instance Method Summary collapse
-
#initialize(timeout, iterations, failed_nodes = nil, failed_connections = nil) ⇒ Timeout
constructor
A new instance of Timeout.
Constructor Details
#initialize(timeout, iterations, failed_nodes = nil, failed_connections = nil) ⇒ Timeout
Returns a new instance of Timeout.
36 37 38 39 40 41 42 43 |
# File 'lib/aerospike/aerospike_exception.rb', line 36 def initialize(timeout, iterations, failed_nodes=nil, failed_connections=nil) @timeout = timeout @iterations = iterations @failed_nodes = failed_nodes @failed_connections = failed_connections super(ResultCode::TIMEOUT) end |
Instance Attribute Details
#failed_connections ⇒ Object (readonly)
Returns the value of attribute failed_connections.
34 35 36 |
# File 'lib/aerospike/aerospike_exception.rb', line 34 def failed_connections @failed_connections end |
#failed_nodes ⇒ Object (readonly)
Returns the value of attribute failed_nodes.
34 35 36 |
# File 'lib/aerospike/aerospike_exception.rb', line 34 def failed_nodes @failed_nodes end |
#iterations ⇒ Object (readonly)
Returns the value of attribute iterations.
34 35 36 |
# File 'lib/aerospike/aerospike_exception.rb', line 34 def iterations @iterations end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
34 35 36 |
# File 'lib/aerospike/aerospike_exception.rb', line 34 def timeout @timeout end |