Exemple #1
0
 public void sunionstore(final String dstkey, final String... keys) {
   final byte[][] bkeys = new byte[keys.length][];
   for (int i = 0; i < bkeys.length; i++) {
     bkeys[i] = SafeEncoder.encode(keys[i]);
   }
   sunionstore(SafeEncoder.encode(dstkey), bkeys);
 }
Exemple #2
0
 public Integer sunionstore(String dstkey, String... keys) {
   checkIsInMulti();
   client.sunionstore(dstkey, keys);
   return client.getIntegerReply();
 }