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

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

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

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

            public AffinityState getState() {
                return AffinityState.WRITE;
            }
        });
    }
public String hmset ( final String key , final Map < String , String > tuple ) { return this . execute ( new RedisClusterCallback < String > ( ) { public String doInRedisCluster ( RedisCluster redisCluster ) { return redisCluster . hmset ( key , tuple ) ; } public int getPartitionNumber ( ) { return GatewayPartitionNumber . get ( key ) ; } public AffinityState getState ( ) { return AffinityState . WRITE ; } } ) ; }
/*
@see RedisClusterCommands#hmset(java.lang.String, java.util.Map)
/ *