Class: Aerospike::PartitionStatus

Inherits:
Object
  • Object
show all
Defined in:
lib/aerospike/query/partition_status.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bvalObject

Returns the value of attribute bval.



21
22
23
# File 'lib/aerospike/query/partition_status.rb', line 21

def bval
  @bval
end

#digestObject

Returns the value of attribute digest.



21
22
23
# File 'lib/aerospike/query/partition_status.rb', line 21

def digest
  @digest
end

#idObject

Returns the value of attribute id.



21
22
23
# File 'lib/aerospike/query/partition_status.rb', line 21

def id
  @id
end

#retryObject

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_sObject

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