api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayClient.java
public String ping() {
        return this.execute(new RedisClusterCallback<String>() {
            public String doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.ping();
            }

            public int getPartitionNumber() {
                return GatewayPartitionNumber.NOT_MATCHED;
            }

            public AffinityState getState() {
                return AffinityState.READ;
            }
        });
    }
public String ping() {
        return this.execute(new RedisClusterCallback<String>() {
            public String doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.ping();
            }

            public int getPartitionNumber() {
                return GatewayPartitionNumber.NOT_MATCHED;
            }

            public AffinityState getState() {
                return AffinityState.READ;
            }
        });
    }
/*
@see RedisClusterCommands#ping()