Exemple #1
0
 @Override
 public void setnx(final String key, final String value) {
   setnx(SafeEncoder.encode(key), SafeEncoder.encode(value));
 }
Exemple #2
0
 public Integer setnx(String key, String value) {
   checkIsInMulti();
   client.setnx(key, value);
   return client.getIntegerReply();
 }