public Long zcount(final String key, final double min, final double max) {
        return this.execute(new RedisClusterCallback<Long>() {
            public Long doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.zcount(key, min, max);
            }

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

            public AffinityState getState() {
                return AffinityState.READ;
            }
        });
    }
public Long zcount(final String key, final double min, final double max) {
        return this.execute(new RedisClusterCallback<Long>() {
            public Long doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.zcount(key, min, max);
            }

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

            public AffinityState getState() {
                return AffinityState.READ;
            }
        });
    }
public Long zcount ( final String key , final double min , final double max ) { return this . execute ( new RedisClusterCallback < Long > ( ) { public Long doInRedisCluster ( RedisCluster redisCluster ) { return redisCluster . zcount ( key , min , max ) ; } public int getPartitionNumber ( ) { return GatewayPartitionNumber . get ( key ) ; } public AffinityState getState ( ) { return AffinityState . READ ; } } ) ; }
/*
@see RedisClusterCommands#zcount(java.lang.String, double, double)
/ *