api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayServerSelector.java
GatewayServer random(List<GatewayServer> list) {
        return list.get(new Random().nextInt(list.size()));
    }
GatewayServer random(List<GatewayServer> list) {
        return list.get(new Random().nextInt(list.size()));
    }
Random.

@param list the list
@return the gateway server