class Redis::Client
Public Instance Methods
call(command, &block)
Also aliased as: call_without_reconnect_with_readonly
Alias for: call_with_reconnect_with_readonly
call_loop(command, timeout = 0, &block)
Also aliased as: call_loop_without_reconnect_with_readonly
Alias for: call_loop_with_reconnect_with_readonly
call_loop_with_reconnect_with_readonly(command, timeout = 0, &block)
click to toggle source
# File lib/redis/reconnect_with_readonly.rb, line 58 def call_loop_with_reconnect_with_readonly(command, timeout = 0, &block) ReconnectWithReadonly.reconnect_with_readonly(self) do call_loop_without_reconnect_with_readonly(command, timeout, &block) end end
Also aliased as: call_loop
call_pipeline(command, &block)
Also aliased as: call_pipeline_without_reconnect_with_readonly
Alias for: call_pipeline_with_reconnect_with_readonly
call_pipeline_with_reconnect_with_readonly(command, &block)
click to toggle source
# File lib/redis/reconnect_with_readonly.rb, line 64 def call_pipeline_with_reconnect_with_readonly(command, &block) ReconnectWithReadonly.reconnect_with_readonly(self) do call_pipeline_without_reconnect_with_readonly(command, &block) end end
Also aliased as: call_pipeline
call_with_reconnect_with_readonly(command, &block)
click to toggle source
# File lib/redis/reconnect_with_readonly.rb, line 52 def call_with_reconnect_with_readonly(command, &block) ReconnectWithReadonly.reconnect_with_readonly(self) do call_without_reconnect_with_readonly(command, &block) end end
Also aliased as: call