module InternalScalarisNopClose
Public Instance Methods
close_connection()
click to toggle source
Close the connection to Scalaris (it will automatically be re-opened on the next request).
# File lib/scalaroid.rb, line 42 def close_connection @conn.close() end
nop(value)
click to toggle source
No operation (may be used for measuring the JSON overhead).
# File lib/scalaroid.rb, line 34 def nop(value) value = @conn.class.encode_value(value) result = @conn.call(:nop, [value]) @conn.class.process_result_nop(result) end