class Redis::Distributed

def setnx(key, value)

Set the value of a key, only if the key does not exist.
def setnx(key, value)
  node_for(key).setnx(key, value)
end