class Redis2::Distributed::CannotDistribute
Public Class Methods
new(command)
click to toggle source
# File lib/redis2/distributed.rb, line 7 def initialize(command) @command = command end
Public Instance Methods
message()
click to toggle source
# File lib/redis2/distributed.rb, line 11 def message "#{@command.to_s.upcase} cannot be used in Redis2::Distributed because the keys involved need to be on the same server or because we cannot guarantee that the operation will be atomic." end