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

            public int getPartitionNumber() {
                return GatewayPartitionNumber.get(key);
            }

            public AffinityState getState() {
                return AffinityState.READ;
            }
        });
    }
public Map<String, String> hgetAll(final String key) {
        return this.execute(new RedisClusterCallback<Map<String, String>>() {
            public Map<String, String> doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.hgetAll(key);
            }

            public int getPartitionNumber() {
                return GatewayPartitionNumber.get(key);
            }

            public AffinityState getState() {
                return AffinityState.READ;
            }
        });
    }
/*
@see RedisClusterCommands#hgetAll(java.lang.String)