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

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

            public AffinityState getState() {
                return AffinityState.WRITE;
            }
        });
    }
public Long zremrangeByRank(final String key, final long start, final long end) {
        return this.execute(new RedisClusterCallback<Long>() {
            public Long doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.zremrangeByRank(key, start, end);
            }

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

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