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

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

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

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

            public AffinityState getState() {
                return AffinityState.WRITE;
            }
        });
    }
/*
@see RedisClusterCommands#zadd(java.lang.String, java.util.Map)