示例#1
0
 @Override
 public void setnx(final String key, final String value) {
   setnx(SafeEncoder.encode(key), SafeEncoder.encode(value));
 }
示例#2
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer setnx(String key, String value) {
   checkIsInMulti();
   client.setnx(key, value);
   return client.getIntegerReply();
 }