class JedisClusterFacade extends AbstractJedisFacade {

  @Override
  public String rename(byte[] oldkey, byte[] newkey) {
    int slot = JedisClusterCRC16.getSlot(oldkey);
    int newSlot = JedisClusterCRC16.getSlot(newkey);
    // If slots are not same we need to apply move logic (get, set, delete).
    if (slot != newSlot) {
      return renameToDifferentSlots(oldkey, newkey);
    }
    return jedisCluster.rename(oldkey, newkey);
  }

    JedisClusterFacade(TransactionalJedisCluster jedisCluster);

}