Exception: Redis::Distributed::CannotDistribute
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RuntimeError
|
|
Instance Chain:
self,
RuntimeError
|
|
Inherits: |
RuntimeError
|
Defined in: | lib/redis/distributed.rb |
Class Method Summary
- .new(command) ⇒ CannotDistribute constructor
Instance Method Summary
Constructor Details
.new(command) ⇒ CannotDistribute
# File 'lib/redis/distributed.rb', line 8
def initialize(command) @command = command end
Instance Method Details
#message
[ GitHub ]# File 'lib/redis/distributed.rb', line 12
def "#{@command.to_s.upcase} cannot be used in Redis::Distributed because the keys involved need " \ "to be on the same server or because we cannot guarantee that the operation will be atomic." end