Method: Aerospike::BatchRecord#prepare

Defined in:
lib/aerospike/batch_record.rb

#prepareObject

Prepare for upcoming batch call. Reset result fields because this instance might be reused. For internal use only.


64
65
66
67
68
# File 'lib/aerospike/batch_record.rb', line 64

def prepare # :nodoc:
  @record = nil
  @result_code = ResultCode::NO_RESPONSE
  @in_doubt = false
end