class Redis

def hsetnx(key, field, value)

Set the value of a hash field, only if the field does not exist.
def hsetnx(key, field, value)
  synchronize do
    _bool @client.call(:hsetnx, key, field, value)
  end
end