class JedisClusterFacade extends AbstractJedisFacade {

  String renameSet(byte[] oldkey, byte[] newkey) {
    Set<byte[]> value = jedisCluster.smembers(oldkey);
    if (value == null) {
      return "ERR";
    }
    jedisCluster.sadd(newkey, new ArrayList<>(value).toArray(new byte[][] {}));
    jedisCluster.del(oldkey);
    return "OK";
  }

    JedisClusterFacade(TransactionalJedisCluster jedisCluster);

}