Method: Redis::Distributed#msetnx
- Defined in:
- lib/redis/distributed.rb
#msetnx ⇒ Object
Set multiple keys to multiple values, only if none of the keys exist.
310 311 312 |
# File 'lib/redis/distributed.rb', line 310 def msetnx(*) raise CannotDistribute, :msetnx end |