Class: Aerospike::PartitionStatus
- Inherits:
-
Object
- Object
- Aerospike::PartitionStatus
- Defined in:
- lib/aerospike/query/partition_status.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#bval ⇒ Object
Returns the value of attribute bval.
-
#digest ⇒ Object
Returns the value of attribute digest.
-
#id ⇒ Object
Returns the value of attribute id.
-
#retry ⇒ Object
Returns the value of attribute retry.
Instance Method Summary collapse
-
#initialize(id) ⇒ PartitionStatus
constructor
A new instance of PartitionStatus.
-
#to_s ⇒ Object
Show the PartitionStatus as String.
Constructor Details
#initialize(id) ⇒ PartitionStatus
Returns a new instance of PartitionStatus.
23 24 25 26 |
# File 'lib/aerospike/query/partition_status.rb', line 23 def initialize(id) @id = id @retry = true end |
Instance Attribute Details
#bval ⇒ Object
Returns the value of attribute bval.
21 22 23 |
# File 'lib/aerospike/query/partition_status.rb', line 21 def bval @bval end |
#digest ⇒ Object
Returns the value of attribute digest.
21 22 23 |
# File 'lib/aerospike/query/partition_status.rb', line 21 def digest @digest end |
#id ⇒ Object
Returns the value of attribute id.
21 22 23 |
# File 'lib/aerospike/query/partition_status.rb', line 21 def id @id end |
#retry ⇒ Object
Returns the value of attribute retry.
21 22 23 |
# File 'lib/aerospike/query/partition_status.rb', line 21 def retry @retry end |
Instance Method Details
#to_s ⇒ Object
Show the PartitionStatus as String.
31 32 33 |
# File 'lib/aerospike/query/partition_status.rb', line 31 def to_s "PartitionStatus<bval: #{@bval}, id: #{@id}, retry: #{@retry}, digest: #{@digest}>" end |