All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wl4g.infra.common.jedis.cluster.JedisClusterJedisClient Maven / Gradle / Ivy

There is a newer version: 3.1.72
Show newest version
/*
 * Copyright 2017 ~ 2025 the original author or authors. James Wong 
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.wl4g.infra.common.jedis.cluster;

import static com.wl4g.infra.common.lang.Assert2.notNullOf;

import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;

import com.wl4g.infra.common.jedis.JedisClient;

import redis.clients.jedis.BinaryJedisPubSub;
import redis.clients.jedis.BitOP;
import redis.clients.jedis.GeoCoordinate;
import redis.clients.jedis.GeoRadiusResponse;
import redis.clients.jedis.GeoUnit;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisCluster;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPubSub;
import redis.clients.jedis.ListPosition;
import redis.clients.jedis.ScanParams;
import redis.clients.jedis.ScanResult;
import redis.clients.jedis.SortingParams;
import redis.clients.jedis.StreamEntry;
import redis.clients.jedis.StreamEntryID;
import redis.clients.jedis.StreamPendingEntry;
import redis.clients.jedis.StreamPendingSummary;
import redis.clients.jedis.Tuple;
import redis.clients.jedis.ZParams;
import redis.clients.jedis.args.FlushMode;
import redis.clients.jedis.args.ListDirection;
import redis.clients.jedis.params.GeoAddParams;
import redis.clients.jedis.params.GeoRadiusParam;
import redis.clients.jedis.params.GeoRadiusStoreParam;
import redis.clients.jedis.params.GetExParams;
import redis.clients.jedis.params.LPosParams;
import redis.clients.jedis.params.RestoreParams;
import redis.clients.jedis.params.SetParams;
import redis.clients.jedis.params.XAddParams;
import redis.clients.jedis.params.XClaimParams;
import redis.clients.jedis.params.XPendingParams;
import redis.clients.jedis.params.XReadGroupParams;
import redis.clients.jedis.params.XReadParams;
import redis.clients.jedis.params.XTrimParams;
import redis.clients.jedis.params.ZAddParams;
import redis.clients.jedis.params.ZIncrByParams;
import redis.clients.jedis.resps.KeyedListElement;
import redis.clients.jedis.resps.KeyedZSetElement;

/**
 * {@link JedisCluster} jedis client wrapper.
 *
 * @author James Wong 
 * @version v1.0 2020-08-03
 * @since
 */
@SuppressWarnings("unchecked")
public class JedisClusterJedisClient implements JedisClient {

    /** {@link JedisCluster} */
    protected final JedisCluster jedisCluster;

    public JedisClusterJedisClient(JedisCluster jedisCluster) {
        notNullOf(jedisCluster, "jedisCluster");
        this.jedisCluster = jedisCluster;
    }

    @Override
    public Map getClusterNodes() {
        return jedisCluster.getClusterNodes();
    }

    @Override
    public void close() throws IOException {
        jedisCluster.close();
    }

    public Jedis getConnectionFromSlot(int slot) {
        return jedisCluster.getConnectionFromSlot(slot);
    }

    @Override
    public Object eval(String script, int keyCount, String... params) {
        return jedisCluster.eval(script, keyCount, params);
    }

    @Override
    public Object eval(String script, List keys, List args) {
        return jedisCluster.eval(script, keys, args);
    }

    @Override
    public Object eval(String script, String sampleKey) {
        return jedisCluster.eval(script, sampleKey);
    }

    @Override
    public Object evalsha(String sha1, String sampleKey) {
        return jedisCluster.evalsha(sha1, sampleKey);
    }

    @Override
    public Object evalsha(String sha1, List keys, List args) {
        return jedisCluster.evalsha(sha1, keys, args);
    }

    @Override
    public Object evalsha(String sha1, int keyCount, String... params) {
        return jedisCluster.evalsha(sha1, keyCount, params);
    }

    @Override
    public Boolean scriptExists(String sha1, String sampleKey) {
        return jedisCluster.scriptExists(sha1, sampleKey);
    }

    @Override
    public List scriptExists(String sampleKey, String... sha1) {
        return jedisCluster.scriptExists(sampleKey, sha1);
    }

    @Override
    public String scriptLoad(String script, String sampleKey) {
        return jedisCluster.scriptLoad(script, sampleKey);
    }

    @Override
    public String scriptFlush(String sampleKey) {
        return jedisCluster.scriptFlush(sampleKey);
    }

    @Override
    public String scriptKill(String sampleKey) {
        return jedisCluster.scriptKill(sampleKey);
    }

    @Override
    public Boolean copy(String srcKey, String dstKey, boolean replace) {
        return jedisCluster.copy(srcKey, dstKey, replace);
    }

    @Override
    public Long del(String... keys) {
        return jedisCluster.del(keys);
    }

    @Override
    public Long unlink(String... keys) {
        return jedisCluster.unlink(keys);
    }

    @Override
    public Long exists(String... keys) {
        return jedisCluster.exists(keys);
    }

    @Override
    public String lmove(String srcKey, String dstKey, ListDirection from, ListDirection to) {
        return jedisCluster.lmove(srcKey, dstKey, from, to);
    }

    @Override
    public String blmove(String srcKey, String dstKey, ListDirection from, ListDirection to, double timeout) {
        return jedisCluster.blmove(srcKey, dstKey, from, to, timeout);
    }

    @Override
    public List blpop(int timeout, String... keys) {
        return jedisCluster.blpop(timeout, keys);
    }

    @Override
    public KeyedListElement blpop(double timeout, String... keys) {
        return jedisCluster.blpop(timeout, keys);
    }

    @Override
    public List brpop(int timeout, String... keys) {
        return jedisCluster.brpop(timeout, keys);
    }

    @Override
    public KeyedListElement brpop(double timeout, String... keys) {
        return jedisCluster.brpop(timeout, keys);
    }

    @Override
    public KeyedZSetElement bzpopmax(double timeout, String... keys) {
        return jedisCluster.bzpopmax(timeout, keys);
    }

    @Override
    public KeyedZSetElement bzpopmin(double timeout, String... keys) {
        return jedisCluster.bzpopmin(timeout, keys);
    }

    @Override
    public List mget(String... keys) {
        return jedisCluster.mget(keys);
    }

    @Override
    public String mset(String... keysvalues) {
        return jedisCluster.mset(keysvalues);
    }

    @Override
    public Long msetnx(String... keysvalues) {
        return jedisCluster.msetnx(keysvalues);
    }

    @Override
    public String rename(String oldkey, String newkey) {
        return jedisCluster.rename(oldkey, newkey);
    }

    @Override
    public Long renamenx(String oldkey, String newkey) {
        return jedisCluster.renamenx(oldkey, newkey);
    }

    @Override
    public String rpoplpush(String srckey, String dstkey) {
        return jedisCluster.rpoplpush(srckey, dstkey);
    }

    @Override
    public Set sdiff(String... keys) {
        return jedisCluster.sdiff(keys);
    }

    @Override
    public Long sdiffstore(String dstkey, String... keys) {
        return jedisCluster.sdiffstore(dstkey, keys);
    }

    @Override
    public Set sinter(String... keys) {
        return jedisCluster.sinter(keys);
    }

    @Override
    public Long sinterstore(String dstkey, String... keys) {
        return jedisCluster.sinterstore(dstkey, keys);
    }

    @Override
    public Long smove(String srckey, String dstkey, String member) {
        return jedisCluster.smove(srckey, dstkey, member);
    }

    @Override
    public Long sort(String key, SortingParams sortingParameters, String dstkey) {
        return jedisCluster.sort(key, sortingParameters, dstkey);
    }

    @Override
    public Long sort(String key, String dstkey) {
        return jedisCluster.sort(key, dstkey);
    }

    @Override
    public Set sunion(String... keys) {
        return jedisCluster.sunion(keys);
    }

    @Override
    public Long sunionstore(String dstkey, String... keys) {
        return jedisCluster.sunionstore(dstkey, keys);
    }

    @Override
    public Set zdiff(String... keys) {
        return jedisCluster.zdiff(keys);
    }

    @Override
    public Set zdiffWithScores(String... keys) {
        return jedisCluster.zdiffWithScores(keys);
    }

    @Override
    public Long zdiffStore(String dstkey, String... keys) {
        return jedisCluster.zdiffStore(dstkey, keys);
    }

    @Override
    public Set zinter(ZParams params, String... keys) {
        return jedisCluster.zinter(params, keys);
    }

    @Override
    public Set zinterWithScores(ZParams params, String... keys) {
        return jedisCluster.zinterWithScores(params, keys);
    }

    @Override
    public Long zinterstore(String dstkey, String... sets) {
        return jedisCluster.zinterstore(dstkey, sets);
    }

    @Override
    public Long zinterstore(String dstkey, ZParams params, String... sets) {
        return jedisCluster.zinterstore(dstkey, params, sets);
    }

    @Override
    public Set zunion(ZParams params, String... keys) {
        return jedisCluster.zunion(params, keys);
    }

    @Override
    public Set zunionWithScores(ZParams params, String... keys) {
        return jedisCluster.zunionWithScores(params, keys);
    }

    @Override
    public Long zunionstore(String dstkey, String... sets) {
        return jedisCluster.zunionstore(dstkey, sets);
    }

    @Override
    public Long zunionstore(String dstkey, ZParams params, String... sets) {
        return jedisCluster.zunionstore(dstkey, params, sets);
    }

    @Override
    public String brpoplpush(String source, String destination, int timeout) {
        return jedisCluster.brpoplpush(source, destination, timeout);
    }

    @Override
    public Long publish(String channel, String message) {
        return jedisCluster.publish(channel, message);
    }

    @Override
    public void subscribe(JedisPubSub jedisPubSub, String... channels) {

        jedisCluster.subscribe(jedisPubSub, channels);
    }

    @Override
    public void psubscribe(JedisPubSub jedisPubSub, String... patterns) {

        jedisCluster.psubscribe(jedisPubSub, patterns);
    }

    @Override
    public Long bitop(BitOP op, String destKey, String... srcKeys) {
        return jedisCluster.bitop(op, destKey, srcKeys);
    }

    @Override
    public String pfmerge(String destkey, String... sourcekeys) {
        return jedisCluster.pfmerge(destkey, sourcekeys);
    }

    @Override
    public long pfcount(String... keys) {
        return jedisCluster.pfcount(keys);
    }

    @Override
    public Long touch(String... keys) {
        return jedisCluster.touch(keys);
    }

    @Override
    public ScanResult scan(String cursor, ScanParams params) {
        return jedisCluster.scan(cursor, params);
    }

    @Override
    public Set keys(String pattern) {
        return jedisCluster.keys(pattern);
    }

    @Override
    public Long georadiusStore(
            String key,
            double longitude,
            double latitude,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param,
            GeoRadiusStoreParam storeParam) {
        return jedisCluster.georadiusStore(key, longitude, latitude, radius, unit, param, storeParam);
    }

    @Override
    public Long georadiusByMemberStore(
            String key,
            String member,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param,
            GeoRadiusStoreParam storeParam) {
        return jedisCluster.georadiusByMemberStore(key, member, radius, unit, param, storeParam);
    }

    @Override
    public List>> xread(XReadParams xReadParams, Map streams) {
        return jedisCluster.xread(xReadParams, streams);
    }

    @Override
    public List>> xreadGroup(
            String groupname,
            String consumer,
            XReadGroupParams xReadGroupParams,
            Map streams) {
        return jedisCluster.xreadGroup(groupname, consumer, xReadGroupParams, streams);
    }

    @Override
    public String set(String key, String value) {
        return jedisCluster.set(key, value);
    }

    @Override
    public String set(String key, String value, SetParams params) {
        return jedisCluster.set(key, value, params);
    }

    @Override
    public String get(String key) {
        return jedisCluster.get(key);
    }

    @Override
    public String getDel(String key) {
        return jedisCluster.getDel(key);
    }

    @Override
    public String getEx(String key, GetExParams params) {
        return jedisCluster.getEx(key, params);
    }

    @Override
    public Boolean exists(String key) {
        return jedisCluster.exists(key);
    }

    @Override
    public Long persist(String key) {
        return jedisCluster.persist(key);
    }

    @Override
    public String type(String key) {
        return jedisCluster.type(key);
    }

    @Override
    public byte[] dump(String key) {
        return jedisCluster.dump(key);
    }

    @Override
    public String restore(String key, long ttl, byte[] serializedValue) {
        return jedisCluster.restore(key, ttl, serializedValue);
    }

    @Override
    public String restore(String key, long ttl, byte[] serializedValue, RestoreParams params) {
        return jedisCluster.restore(key, ttl, serializedValue, params);
    }

    @Override
    public Long expire(String key, long seconds) {
        return jedisCluster.expire(key, seconds);
    }

    @Override
    public Long pexpire(String key, long milliseconds) {
        return jedisCluster.pexpire(key, milliseconds);
    }

    @Override
    public Long expireAt(String key, long unixTime) {
        return jedisCluster.expireAt(key, unixTime);
    }

    @Override
    public Long pexpireAt(String key, long millisecondsTimestamp) {
        return jedisCluster.pexpireAt(key, millisecondsTimestamp);
    }

    @Override
    public Long ttl(String key) {
        return jedisCluster.ttl(key);
    }

    @Override
    public Long pttl(String key) {
        return jedisCluster.pttl(key);
    }

    @Override
    public Long touch(String key) {
        return jedisCluster.touch(key);
    }

    @Override
    public Boolean setbit(String key, long offset, boolean value) {
        return jedisCluster.setbit(key, offset, value);
    }

    @Override
    public Boolean setbit(String key, long offset, String value) {
        return jedisCluster.setbit(key, offset, value);
    }

    @Override
    public Boolean getbit(String key, long offset) {
        return jedisCluster.getbit(key, offset);
    }

    @Override
    public Long setrange(String key, long offset, String value) {
        return jedisCluster.setrange(key, offset, value);
    }

    @Override
    public String getrange(String key, long startOffset, long endOffset) {
        return jedisCluster.getrange(key, startOffset, endOffset);
    }

    @Override
    public String getSet(String key, String value) {
        return jedisCluster.getSet(key, value);
    }

    @Override
    public Long setnx(String key, String value) {
        return jedisCluster.setnx(key, value);
    }

    @Override
    public String setex(String key, long seconds, String value) {
        return jedisCluster.setex(key, seconds, value);
    }

    @Override
    public String psetex(String key, long milliseconds, String value) {
        return jedisCluster.psetex(key, milliseconds, value);
    }

    @Override
    public Long decrBy(String key, long decrement) {
        return jedisCluster.decrBy(key, decrement);
    }

    @Override
    public Long decr(String key) {
        return jedisCluster.decr(key);
    }

    @Override
    public Long incrBy(String key, long increment) {
        return jedisCluster.incrBy(key, increment);
    }

    @Override
    public Double incrByFloat(String key, double increment) {
        return jedisCluster.incrByFloat(key, increment);
    }

    @Override
    public Long incr(String key) {
        return jedisCluster.incr(key);
    }

    @Override
    public Long append(String key, String value) {
        return jedisCluster.append(key, value);
    }

    @Override
    public String substr(String key, int start, int end) {
        return jedisCluster.substr(key, start, end);
    }

    @Override
    public Long hset(String key, String field, String value) {
        return jedisCluster.hset(key, field, value);
    }

    @Override
    public Long hset(String key, Map hash) {
        return jedisCluster.hset(key, hash);
    }

    @Override
    public String hget(String key, String field) {
        return jedisCluster.hget(key, field);
    }

    @Override
    public Long hsetnx(String key, String field, String value) {
        return jedisCluster.hsetnx(key, field, value);
    }

    @Override
    public String hmset(String key, Map hash) {
        return jedisCluster.hmset(key, hash);
    }

    @Override
    public List hmget(String key, String... fields) {
        return jedisCluster.hmget(key, fields);
    }

    @Override
    public Long hincrBy(String key, String field, long value) {
        return jedisCluster.hincrBy(key, field, value);
    }

    @Override
    public Double hincrByFloat(String key, String field, double value) {
        return jedisCluster.hincrByFloat(key, field, value);
    }

    @Override
    public Boolean hexists(String key, String field) {
        return jedisCluster.hexists(key, field);
    }

    @Override
    public Long hdel(String key, String... field) {
        return jedisCluster.hdel(key, field);
    }

    @Override
    public Long hlen(String key) {
        return jedisCluster.hlen(key);
    }

    @Override
    public Set hkeys(String key) {
        return jedisCluster.hkeys(key);
    }

    @Override
    public List hvals(String key) {
        return jedisCluster.hvals(key);
    }

    @Override
    public Map hgetAll(String key) {
        return jedisCluster.hgetAll(key);
    }

    @Override
    public String hrandfield(String key) {
        return jedisCluster.hrandfield(key);
    }

    @Override
    public List hrandfield(String key, long count) {
        return jedisCluster.hrandfield(key, count);
    }

    @Override
    public Map hrandfieldWithValues(String key, long count) {
        return jedisCluster.hrandfieldWithValues(key, count);
    }

    @Override
    public Long rpush(String key, String... string) {
        return jedisCluster.rpush(key, string);
    }

    @Override
    public Long lpush(String key, String... string) {
        return jedisCluster.lpush(key, string);
    }

    @Override
    public Long llen(String key) {
        return jedisCluster.llen(key);
    }

    @Override
    public List lrange(String key, long start, long stop) {
        return jedisCluster.lrange(key, start, stop);
    }

    @Override
    public String ltrim(String key, long start, long stop) {
        return jedisCluster.ltrim(key, start, stop);
    }

    @Override
    public String lindex(String key, long index) {
        return jedisCluster.lindex(key, index);
    }

    @Override
    public String lset(String key, long index, String value) {
        return jedisCluster.lset(key, index, value);
    }

    @Override
    public Long lrem(String key, long count, String value) {
        return jedisCluster.lrem(key, count, value);
    }

    @Override
    public String lpop(String key) {
        return jedisCluster.lpop(key);
    }

    @Override
    public List lpop(String key, int count) {
        return jedisCluster.lpop(key, count);
    }

    @Override
    public Long lpos(String key, String element) {
        return jedisCluster.lpos(key, element);
    }

    @Override
    public Long lpos(String key, String element, LPosParams params) {
        return jedisCluster.lpos(key, element, params);
    }

    @Override
    public List lpos(String key, String element, LPosParams params, long count) {
        return jedisCluster.lpos(key, element, params, count);
    }

    @Override
    public String rpop(String key) {
        return jedisCluster.rpop(key);
    }

    @Override
    public List rpop(String key, int count) {
        return jedisCluster.rpop(key, count);
    }

    @Override
    public Long sadd(String key, String... member) {
        return jedisCluster.sadd(key, member);
    }

    @Override
    public Set smembers(String key) {
        return jedisCluster.smembers(key);
    }

    @Override
    public Long srem(String key, String... member) {
        return jedisCluster.srem(key, member);
    }

    @Override
    public String spop(String key) {
        return jedisCluster.spop(key);
    }

    @Override
    public Set spop(String key, long count) {
        return jedisCluster.spop(key, count);
    }

    @Override
    public Long scard(String key) {
        return jedisCluster.scard(key);
    }

    @Override
    public Boolean sismember(String key, String member) {
        return jedisCluster.sismember(key, member);
    }

    @Override
    public List smismember(String key, String... members) {
        return jedisCluster.smismember(key, members);
    }

    @Override
    public String srandmember(String key) {
        return jedisCluster.srandmember(key);
    }

    @Override
    public List srandmember(String key, int count) {
        return jedisCluster.srandmember(key, count);
    }

    @Override
    public Long strlen(String key) {
        return jedisCluster.strlen(key);
    }

    @Override
    public Long zadd(String key, double score, String member) {
        return jedisCluster.zadd(key, score, member);
    }

    @Override
    public Long zadd(String key, double score, String member, ZAddParams params) {
        return jedisCluster.zadd(key, score, member, params);
    }

    @Override
    public Long zadd(String key, Map scoreMembers) {
        return jedisCluster.zadd(key, scoreMembers);
    }

    @Override
    public Long zadd(String key, Map scoreMembers, ZAddParams params) {
        return jedisCluster.zadd(key, scoreMembers, params);
    }

    @Override
    public Double zaddIncr(String key, double score, String member, ZAddParams params) {
        return jedisCluster.zaddIncr(key, score, member, params);
    }

    @Override
    public Set zrange(String key, long start, long stop) {
        return jedisCluster.zrange(key, start, stop);
    }

    @Override
    public Long zrem(String key, String... members) {
        return jedisCluster.zrem(key, members);
    }

    @Override
    public Double zincrby(String key, double increment, String member) {
        return jedisCluster.zincrby(key, increment, member);
    }

    @Override
    public Double zincrby(String key, double increment, String member, ZIncrByParams params) {
        return jedisCluster.zincrby(key, increment, member, params);
    }

    @Override
    public Long zrank(String key, String member) {
        return jedisCluster.zrank(key, member);
    }

    @Override
    public Long zrevrank(String key, String member) {
        return jedisCluster.zrevrank(key, member);
    }

    @Override
    public Set zrevrange(String key, long start, long stop) {
        return jedisCluster.zrevrange(key, start, stop);
    }

    @Override
    public Set zrangeWithScores(String key, long start, long stop) {
        return jedisCluster.zrangeWithScores(key, start, stop);
    }

    @Override
    public Set zrevrangeWithScores(String key, long start, long stop) {
        return jedisCluster.zrevrangeWithScores(key, start, stop);
    }

    @Override
    public String zrandmember(String key) {
        return jedisCluster.zrandmember(key);
    }

    @Override
    public Set zrandmember(String key, long count) {
        return jedisCluster.zrandmember(key, count);
    }

    @Override
    public Set zrandmemberWithScores(String key, long count) {
        return jedisCluster.zrandmemberWithScores(key, count);
    }

    @Override
    public Long zcard(String key) {
        return jedisCluster.zcard(key);
    }

    @Override
    public Double zscore(String key, String member) {
        return jedisCluster.zscore(key, member);
    }

    @Override
    public List zmscore(String key, String... members) {
        return jedisCluster.zmscore(key, members);
    }

    @Override
    public Tuple zpopmax(String key) {
        return jedisCluster.zpopmax(key);
    }

    @Override
    public Set zpopmax(String key, int count) {
        return jedisCluster.zpopmax(key, count);
    }

    @Override
    public Tuple zpopmin(String key) {
        return jedisCluster.zpopmin(key);
    }

    @Override
    public Set zpopmin(String key, int count) {
        return jedisCluster.zpopmin(key, count);
    }

    @Override
    public List sort(String key) {
        return jedisCluster.sort(key);
    }

    @Override
    public List sort(String key, SortingParams sortingParameters) {
        return jedisCluster.sort(key, sortingParameters);
    }

    @Override
    public Long zcount(String key, double min, double max) {
        return jedisCluster.zcount(key, min, max);
    }

    @Override
    public Long zcount(String key, String min, String max) {
        return jedisCluster.zcount(key, min, max);
    }

    @Override
    public Set zrangeByScore(String key, double min, double max) {
        return jedisCluster.zrangeByScore(key, min, max);
    }

    @Override
    public Set zrangeByScore(String key, String min, String max) {
        return jedisCluster.zrangeByScore(key, min, max);
    }

    @Override
    public Set zrevrangeByScore(String key, double max, double min) {
        return jedisCluster.zrevrangeByScore(key, max, min);
    }

    @Override
    public Set zrangeByScore(String key, double min, double max, int offset, int count) {
        return jedisCluster.zrangeByScore(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScore(String key, String max, String min) {
        return jedisCluster.zrevrangeByScore(key, max, min);
    }

    @Override
    public Set zrangeByScore(String key, String min, String max, int offset, int count) {
        return jedisCluster.zrangeByScore(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScore(String key, double max, double min, int offset, int count) {
        return jedisCluster.zrevrangeByScore(key, max, min, offset, count);
    }

    @Override
    public Set zrangeByScoreWithScores(String key, double min, double max) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max);
    }

    @Override
    public Set zrevrangeByScoreWithScores(String key, double max, double min) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min);
    }

    @Override
    public Set zrangeByScoreWithScores(String key, double min, double max, int offset, int count) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScore(String key, String max, String min, int offset, int count) {
        return jedisCluster.zrevrangeByScore(key, max, min, offset, count);
    }

    @Override
    public Set zrangeByScoreWithScores(String key, String min, String max) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max);
    }

    @Override
    public Set zrevrangeByScoreWithScores(String key, String max, String min) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min);
    }

    @Override
    public Set zrangeByScoreWithScores(String key, String min, String max, int offset, int count) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min, offset, count);
    }

    @Override
    public Set zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min, offset, count);
    }

    @Override
    public Long zremrangeByRank(String key, long start, long stop) {
        return jedisCluster.zremrangeByRank(key, start, stop);
    }

    @Override
    public Long zremrangeByScore(String key, double min, double max) {
        return jedisCluster.zremrangeByScore(key, min, max);
    }

    @Override
    public Long zremrangeByScore(String key, String min, String max) {
        return jedisCluster.zremrangeByScore(key, min, max);
    }

    @Override
    public Long zlexcount(String key, String min, String max) {
        return jedisCluster.zlexcount(key, min, max);
    }

    @Override
    public Set zrangeByLex(String key, String min, String max) {
        return jedisCluster.zrangeByLex(key, min, max);
    }

    @Override
    public Set zrangeByLex(String key, String min, String max, int offset, int count) {
        return jedisCluster.zrangeByLex(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByLex(String key, String max, String min) {
        return jedisCluster.zrevrangeByLex(key, max, min);
    }

    @Override
    public Set zrevrangeByLex(String key, String max, String min, int offset, int count) {
        return jedisCluster.zrevrangeByLex(key, max, min, offset, count);
    }

    @Override
    public Long zremrangeByLex(String key, String min, String max) {
        return jedisCluster.zremrangeByLex(key, min, max);
    }

    @Override
    public Long linsert(String key, ListPosition where, String pivot, String value) {
        return jedisCluster.linsert(key, where, pivot, value);
    }

    @Override
    public Long lpushx(String key, String... string) {
        return jedisCluster.lpushx(key, string);
    }

    @Override
    public Long rpushx(String key, String... string) {
        return jedisCluster.rpushx(key, string);
    }

    @Override
    public List blpop(int timeout, String key) {
        return jedisCluster.blpop(timeout, key);
    }

    @Override
    public KeyedListElement blpop(double timeout, String key) {
        return jedisCluster.blpop(timeout, key);
    }

    @Override
    public List brpop(int timeout, String key) {
        return jedisCluster.brpop(timeout, key);
    }

    @Override
    public KeyedListElement brpop(double timeout, String key) {
        return jedisCluster.brpop(timeout, key);
    }

    @Override
    public Long del(String key) {
        return jedisCluster.del(key);
    }

    @Override
    public Long unlink(String key) {
        return jedisCluster.unlink(key);
    }

    @Override
    public String echo(String string) {
        return jedisCluster.echo(string);
    }

    @Override
    public Long bitcount(String key) {
        return jedisCluster.bitcount(key);
    }

    @Override
    public Long bitcount(String key, long start, long end) {
        return jedisCluster.bitcount(key, start, end);
    }

    @Override
    public ScanResult> hscan(String key, String cursor) {
        return jedisCluster.hscan(key, cursor);
    }

    @Override
    public ScanResult sscan(String key, String cursor) {
        return jedisCluster.sscan(key, cursor);
    }

    @Override
    public ScanResult zscan(String key, String cursor) {
        return jedisCluster.zscan(key, cursor);
    }

    @Override
    public Long pfadd(String key, String... elements) {
        return jedisCluster.pfadd(key, elements);
    }

    @Override
    public long pfcount(String key) {
        return jedisCluster.pfcount(key);
    }

    @Override
    public Long geoadd(String key, double longitude, double latitude, String member) {
        return jedisCluster.geoadd(key, longitude, latitude, member);
    }

    @Override
    public Long geoadd(String key, Map memberCoordinateMap) {
        return jedisCluster.geoadd(key, memberCoordinateMap);
    }

    @Override
    public Long geoadd(String key, GeoAddParams params, Map memberCoordinateMap) {
        return jedisCluster.geoadd(key, params, memberCoordinateMap);
    }

    @Override
    public Double geodist(String key, String member1, String member2) {
        return jedisCluster.geodist(key, member1, member2);
    }

    @Override
    public Double geodist(String key, String member1, String member2, GeoUnit unit) {
        return jedisCluster.geodist(key, member1, member2, unit);
    }

    @Override
    public List geohash(String key, String... members) {
        return jedisCluster.geohash(key, members);
    }

    @Override
    public List geopos(String key, String... members) {
        return jedisCluster.geopos(key, members);
    }

    @Override
    public List georadius(String key, double longitude, double latitude, double radius, GeoUnit unit) {
        return jedisCluster.georadius(key, longitude, latitude, radius, unit);
    }

    @Override
    public List georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit) {
        return jedisCluster.georadiusReadonly(key, longitude, latitude, radius, unit);
    }

    @Override
    public List georadius(
            String key,
            double longitude,
            double latitude,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadius(key, longitude, latitude, radius, unit, param);
    }

    @Override
    public List georadiusReadonly(
            String key,
            double longitude,
            double latitude,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadiusReadonly(key, longitude, latitude, radius, unit, param);
    }

    @Override
    public List georadiusByMember(String key, String member, double radius, GeoUnit unit) {
        return jedisCluster.georadiusByMember(key, member, radius, unit);
    }

    @Override
    public List georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit) {
        return jedisCluster.georadiusByMemberReadonly(key, member, radius, unit);
    }

    @Override
    public List georadiusByMember(
            String key,
            String member,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadiusByMember(key, member, radius, unit, param);
    }

    @Override
    public List georadiusByMemberReadonly(
            String key,
            String member,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadiusByMemberReadonly(key, member, radius, unit, param);
    }

    @Override
    public List bitfield(String key, String... arguments) {
        return jedisCluster.bitfield(key, arguments);
    }

    @Override
    public List bitfieldReadonly(String key, String... arguments) {
        return jedisCluster.bitfieldReadonly(key, arguments);
    }

    @Override
    public Long hstrlen(String key, String field) {
        return jedisCluster.hstrlen(key, field);
    }

    @Override
    public Long memoryUsage(String key) {
        return jedisCluster.memoryUsage(key);
    }

    @Override
    public Long memoryUsage(String key, int samples) {
        return jedisCluster.memoryUsage(key, samples);
    }

    @Override
    public StreamEntryID xadd(String key, StreamEntryID id, Map hash) {
        return jedisCluster.xadd(key, id, hash);
    }

    @Override
    public StreamEntryID xadd(String key, StreamEntryID id, Map hash, long maxLen, boolean approximateLength) {
        return jedisCluster.xadd(key, id, hash, maxLen, approximateLength);
    }

    @Override
    public StreamEntryID xadd(String key, Map hash, XAddParams params) {
        return jedisCluster.xadd(key, hash, params);
    }

    @Override
    public Long xlen(String key) {
        return jedisCluster.xlen(key);
    }

    @Override
    public List xrange(String key, StreamEntryID start, StreamEntryID end) {
        return jedisCluster.xrange(key, start, end);
    }

    @Override
    public List xrange(String key, StreamEntryID start, StreamEntryID end, int count) {
        return jedisCluster.xrange(key, start, end, count);
    }

    @Override
    public List xrevrange(String key, StreamEntryID end, StreamEntryID start) {
        return jedisCluster.xrevrange(key, end, start);
    }

    @Override
    public List xrevrange(String key, StreamEntryID end, StreamEntryID start, int count) {
        return jedisCluster.xrevrange(key, end, start, count);
    }

    @Override
    public List>> xread(int count, long block, Entry... streams) {
        return jedisCluster.xread(count, block, streams);
    }

    // For compatibility and adaptation
    public Long xack(String key, String group, StreamEntryID... ids) {
        return jedisCluster.xack(key, group, ids);
    }

    // For compatibility and adaptation
    @Override
    public Long xack$JedisClusterCommands(String key, String group, StreamEntryID... ids) {
        return xack(key, group, ids);
    }

    @Override
    public String xgroupCreate(String key, String groupname, StreamEntryID id, boolean makeStream) {
        return jedisCluster.xgroupCreate(key, groupname, id, makeStream);
    }

    @Override
    public String xgroupSetID(String key, String groupname, StreamEntryID id) {
        return jedisCluster.xgroupSetID(key, groupname, id);
    }

    // For compatibility and adaptation
    public Long xgroupDestroy(String key, String groupname) {
        return jedisCluster.xgroupDestroy(key, groupname);
    }

    // For compatibility and adaptation
    @Override
    public Long xgroupDestroy$JedisClusterCommands(String key, String groupname) {
        return xgroupDestroy(key, groupname);
    }

    @Override
    public Long xgroupDelConsumer(String key, String groupname, String consumername) {
        return jedisCluster.xgroupDelConsumer(key, groupname, consumername);
    }

    @Override
    public List>> xreadGroup(
            String groupname,
            String consumer,
            int count,
            long block,
            boolean noAck,
            Entry... streams) {
        return jedisCluster.xreadGroup(groupname, consumer, count, block, noAck, streams);
    }

    @Override
    public StreamPendingSummary xpending(String key, String groupname) {
        return jedisCluster.xpending(key, groupname);
    }

    @Override
    public List xpending(
            String key,
            String groupname,
            StreamEntryID start,
            StreamEntryID end,
            int count,
            String consumername) {
        return jedisCluster.xpending(key, groupname, start, end, count, consumername);
    }

    @Override
    public List xpending(String key, String groupname, XPendingParams params) {
        return jedisCluster.xpending(key, groupname, params);
    }

    // For compatibility and adaptation
    public Long xdel(String key, StreamEntryID... ids) {
        return jedisCluster.xdel(key, ids);
    }

    // For compatibility and adaptation
    @Override
    public Long xdel$JedisClusterCommands(String key, StreamEntryID... ids) {
        return xdel(key, ids);
    }

    // For compatibility and adaptation
    public Long xtrim(String key, long maxLen, boolean approximateLength) {
        return jedisCluster.xtrim(key, maxLen, approximateLength);
    }

    // For compatibility and adaptation
    @Override
    public Long xtrim$JedisClusterCommands(String key, long maxLen, boolean approximateLength) {
        return xtrim(key, maxLen, approximateLength);
    }

    // For compatibility and adaptation
    public Long xtrim(String key, XTrimParams params) {
        return jedisCluster.xtrim(key, params);
    }

    // For compatibility and adaptation
    @Override
    public Long xtrim$JedisClusterCommands(String key, XTrimParams params) {
        return xtrim(key, params);
    }

    @Override
    public List xclaim(
            String key,
            String group,
            String consumername,
            long minIdleTime,
            long newIdleTime,
            int retries,
            boolean force,
            StreamEntryID... ids) {
        return jedisCluster.xclaim(key, group, consumername, minIdleTime, newIdleTime, retries, force, ids);
    }

    @Override
    public List xclaim(
            String key,
            String group,
            String consumername,
            long minIdleTime,
            XClaimParams params,
            StreamEntryID... ids) {
        return jedisCluster.xclaim(key, group, consumername, minIdleTime, params, ids);
    }

    @Override
    public List xclaimJustId(
            String key,
            String group,
            String consumername,
            long minIdleTime,
            XClaimParams params,
            StreamEntryID... ids) {
        return jedisCluster.xclaimJustId(key, group, consumername, minIdleTime, params, ids);
    }

    @Override
    public Long waitReplicas(String key, int replicas, long timeout) {
        return jedisCluster.waitReplicas(key, replicas, timeout);
    }

    @Override
    public Object eval(byte[] script, byte[] keyCount, byte[]... params) {
        return jedisCluster.eval(script, keyCount, params);
    }

    @Override
    public Object eval(byte[] script, int keyCount, byte[]... params) {
        return jedisCluster.eval(script, keyCount, params);
    }

    @Override
    public Object eval(byte[] script, List keys, List args) {
        return jedisCluster.eval(script, keys, args);
    }

    @Override
    public Object eval(byte[] script, byte[] sampleKey) {
        return jedisCluster.eval(script, sampleKey);
    }

    @Override
    public Object evalsha(byte[] sha1, byte[] sampleKey) {
        return jedisCluster.evalsha(sha1, sampleKey);
    }

    @Override
    public Object evalsha(byte[] sha1, List keys, List args) {
        return jedisCluster.evalsha(sha1, keys, args);
    }

    @Override
    public Object evalsha(byte[] sha1, int keyCount, byte[]... params) {
        return jedisCluster.evalsha(sha1, keyCount, params);
    }

    @Override
    public List scriptExists(byte[] sampleKey, byte[]... sha1) {
        return jedisCluster.scriptExists(sampleKey, sha1);
    }

    @Override
    public byte[] scriptLoad(byte[] script, byte[] sampleKey) {
        return jedisCluster.scriptLoad(script, sampleKey);
    }

    @Override
    public String scriptFlush(byte[] sampleKey) {
        return jedisCluster.scriptFlush(sampleKey);
    }

    @Override
    public String scriptFlush(byte[] sampleKey, FlushMode flushMode) {
        return jedisCluster.scriptFlush(sampleKey, flushMode);
    }

    @Override
    public String scriptKill(byte[] sampleKey) {
        return jedisCluster.scriptKill(sampleKey);
    }

    @Override
    public Boolean copy(byte[] srcKey, byte[] dstKey, boolean replace) {
        return jedisCluster.copy(srcKey, dstKey, replace);
    }

    @Override
    public Long del(byte[]... keys) {
        return jedisCluster.del(keys);
    }

    @Override
    public Long unlink(byte[]... keys) {
        return jedisCluster.unlink(keys);
    }

    @Override
    public Long exists(byte[]... keys) {
        return jedisCluster.exists(keys);
    }

    @Override
    public byte[] lmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to) {
        return jedisCluster.lmove(srcKey, dstKey, from, to);
    }

    @Override
    public byte[] blmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to, double timeout) {
        return jedisCluster.blmove(srcKey, dstKey, from, to, timeout);
    }

    @Override
    public List blpop(int timeout, byte[]... keys) {
        return jedisCluster.blpop(timeout, keys);
    }

    @Override
    public List blpop(double timeout, byte[]... keys) {
        return jedisCluster.blpop(timeout, keys);
    }

    @Override
    public List brpop(int timeout, byte[]... keys) {
        return jedisCluster.brpop(timeout, keys);
    }

    @Override
    public List brpop(double timeout, byte[]... keys) {
        return jedisCluster.brpop(timeout, keys);
    }

    @Override
    public List bzpopmax(double timeout, byte[]... keys) {
        return jedisCluster.bzpopmax(timeout, keys);
    }

    @Override
    public List bzpopmin(double timeout, byte[]... keys) {
        return jedisCluster.bzpopmin(timeout, keys);
    }

    @Override
    public List mget(byte[]... keys) {
        return jedisCluster.mget(keys);
    }

    @Override
    public String mset(byte[]... keysvalues) {
        return jedisCluster.mset(keysvalues);
    }

    @Override
    public Long msetnx(byte[]... keysvalues) {
        return jedisCluster.msetnx(keysvalues);
    }

    @Override
    public String rename(byte[] oldkey, byte[] newkey) {
        return jedisCluster.rename(oldkey, newkey);
    }

    @Override
    public Long renamenx(byte[] oldkey, byte[] newkey) {
        return jedisCluster.renamenx(oldkey, newkey);
    }

    @Override
    public byte[] rpoplpush(byte[] srckey, byte[] dstkey) {
        return jedisCluster.rpoplpush(srckey, dstkey);
    }

    @Override
    public Set sdiff(byte[]... keys) {
        return jedisCluster.sdiff(keys);
    }

    @Override
    public Long sdiffstore(byte[] dstkey, byte[]... keys) {
        return jedisCluster.sdiffstore(dstkey, keys);
    }

    @Override
    public Set sinter(byte[]... keys) {
        return jedisCluster.sinter(keys);
    }

    @Override
    public Long sinterstore(byte[] dstkey, byte[]... keys) {
        return jedisCluster.sinterstore(dstkey, keys);
    }

    @Override
    public Long smove(byte[] srckey, byte[] dstkey, byte[] member) {
        return jedisCluster.smove(srckey, dstkey, member);
    }

    @Override
    public Long sort(byte[] key, SortingParams sortingParameters, byte[] dstkey) {
        return jedisCluster.sort(key, sortingParameters, dstkey);
    }

    @Override
    public Long sort(byte[] key, byte[] dstkey) {
        return jedisCluster.sort(key, dstkey);
    }

    @Override
    public Set sunion(byte[]... keys) {
        return jedisCluster.sunion(keys);
    }

    @Override
    public Long sunionstore(byte[] dstkey, byte[]... keys) {
        return jedisCluster.sunionstore(dstkey, keys);
    }

    @Override
    public Set zdiff(byte[]... keys) {
        return jedisCluster.zdiff(keys);
    }

    @Override
    public Set zdiffWithScores(byte[]... keys) {
        return jedisCluster.zdiffWithScores(keys);
    }

    @Override
    public Long zdiffStore(byte[] dstkey, byte[]... keys) {
        return jedisCluster.zdiffStore(dstkey, keys);
    }

    @Override
    public Set zinter(ZParams params, byte[]... keys) {
        return jedisCluster.zinter(params, keys);
    }

    @Override
    public Set zinterWithScores(ZParams params, byte[]... keys) {
        return jedisCluster.zinterWithScores(params, keys);
    }

    @Override
    public Long zinterstore(byte[] dstkey, byte[]... sets) {
        return jedisCluster.zinterstore(dstkey, sets);
    }

    @Override
    public Long zinterstore(byte[] dstkey, ZParams params, byte[]... sets) {
        return jedisCluster.zinterstore(dstkey, params, sets);
    }

    @Override
    public Set zunion(ZParams params, byte[]... keys) {
        return jedisCluster.zunion(params, keys);
    }

    @Override
    public Set zunionWithScores(ZParams params, byte[]... keys) {
        return jedisCluster.zunionWithScores(params, keys);
    }

    @Override
    public Long zunionstore(byte[] dstkey, byte[]... sets) {
        return jedisCluster.zunionstore(dstkey, sets);
    }

    @Override
    public Long zunionstore(byte[] dstkey, ZParams params, byte[]... sets) {
        return jedisCluster.zunionstore(dstkey, params, sets);
    }

    @Override
    public byte[] brpoplpush(byte[] source, byte[] destination, int timeout) {
        return jedisCluster.brpoplpush(source, destination, timeout);
    }

    @Override
    public Long publish(byte[] channel, byte[] message) {
        return jedisCluster.publish(channel, message);
    }

    @Override
    public void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels) {

        jedisCluster.subscribe(jedisPubSub, channels);
    }

    @Override
    public void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns) {

        jedisCluster.psubscribe(jedisPubSub, patterns);
    }

    @Override
    public Long bitop(BitOP op, byte[] destKey, byte[]... srcKeys) {
        return jedisCluster.bitop(op, destKey, srcKeys);
    }

    @Override
    public String pfmerge(byte[] destkey, byte[]... sourcekeys) {
        return jedisCluster.pfmerge(destkey, sourcekeys);
    }

    @Override
    public Long pfcount(byte[]... keys) {
        return jedisCluster.pfcount(keys);
    }

    @Override
    public Long touch(byte[]... keys) {
        return jedisCluster.touch(keys);
    }

    @Override
    public ScanResult scan(byte[] cursor, ScanParams params) {
        return jedisCluster.scan(cursor, params);
    }

    @Override
    public Set keys(byte[] pattern) {
        return jedisCluster.keys(pattern);
    }

    @Override
    public List xread(int count, long block, Map streams) {
        return jedisCluster.xread(count, block, streams);
    }

    @Override
    public List xread(XReadParams xReadParams, Entry... streams) {
        return jedisCluster.xread(xReadParams, streams);
    }

    @Override
    public List xreadGroup(
            byte[] groupname,
            byte[] consumer,
            int count,
            long block,
            boolean noAck,
            Map streams) {
        return jedisCluster.xreadGroup(groupname, consumer, count, block, noAck, streams);
    }

    @Override
    public List xreadGroup(
            byte[] groupname,
            byte[] consumer,
            XReadGroupParams xReadGroupParams,
            Entry... streams) {
        return jedisCluster.xreadGroup(groupname, consumer, xReadGroupParams, streams);
    }

    @Override
    public Long georadiusStore(
            byte[] key,
            double longitude,
            double latitude,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param,
            GeoRadiusStoreParam storeParam) {
        return jedisCluster.georadiusStore(key, longitude, latitude, radius, unit, param, storeParam);
    }

    @Override
    public Long georadiusByMemberStore(
            byte[] key,
            byte[] member,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param,
            GeoRadiusStoreParam storeParam) {
        return jedisCluster.georadiusByMemberStore(key, member, radius, unit, param, storeParam);
    }

    @Override
    public String set(byte[] key, byte[] value) {
        return jedisCluster.set(key, value);
    }

    @Override
    public String set(byte[] key, byte[] value, SetParams params) {
        return jedisCluster.set(key, value, params);
    }

    @Override
    public byte[] get(byte[] key) {
        return jedisCluster.get(key);
    }

    @Override
    public byte[] getDel(byte[] key) {
        return jedisCluster.getDel(key);
    }

    @Override
    public byte[] getEx(byte[] key, GetExParams params) {
        return jedisCluster.getEx(key, params);
    }

    @Override
    public Boolean exists(byte[] key) {
        return jedisCluster.exists(key);
    }

    @Override
    public Long persist(byte[] key) {
        return jedisCluster.persist(key);
    }

    @Override
    public String type(byte[] key) {
        return jedisCluster.type(key);
    }

    @Override
    public byte[] dump(byte[] key) {
        return jedisCluster.dump(key);
    }

    @Override
    public String restore(byte[] key, long ttl, byte[] serializedValue) {
        return jedisCluster.restore(key, ttl, serializedValue);
    }

    @Override
    public String restore(byte[] key, long ttl, byte[] serializedValue, RestoreParams params) {
        return jedisCluster.restore(key, ttl, serializedValue, params);
    }

    @Override
    public Long expire(byte[] key, int seconds) {
        return jedisCluster.expire(key, seconds);
    }

    @Override
    public Long pexpire(byte[] key, long milliseconds) {
        return jedisCluster.pexpire(key, milliseconds);
    }

    @Override
    public Long expireAt(byte[] key, long unixTime) {
        return jedisCluster.expireAt(key, unixTime);
    }

    @Override
    public Long pexpireAt(byte[] key, long millisecondsTimestamp) {
        return jedisCluster.pexpireAt(key, millisecondsTimestamp);
    }

    @Override
    public Long ttl(byte[] key) {
        return jedisCluster.ttl(key);
    }

    @Override
    public Long pttl(byte[] key) {
        return jedisCluster.pttl(key);
    }

    @Override
    public Long touch(byte[] key) {
        return jedisCluster.touch(key);
    }

    @Override
    public Boolean setbit(byte[] key, long offset, boolean value) {
        return jedisCluster.setbit(key, offset, value);
    }

    @Override
    public Boolean setbit(byte[] key, long offset, byte[] value) {
        return jedisCluster.setbit(key, offset, value);
    }

    @Override
    public Boolean getbit(byte[] key, long offset) {
        return jedisCluster.getbit(key, offset);
    }

    @Override
    public Long setrange(byte[] key, long offset, byte[] value) {
        return jedisCluster.setrange(key, offset, value);
    }

    @Override
    public byte[] getrange(byte[] key, long startOffset, long endOffset) {
        return jedisCluster.getrange(key, startOffset, endOffset);
    }

    @Override
    public byte[] getSet(byte[] key, byte[] value) {
        return jedisCluster.getSet(key, value);
    }

    @Override
    public Long setnx(byte[] key, byte[] value) {
        return jedisCluster.setnx(key, value);
    }

    @Override
    public String setex(byte[] key, long seconds, byte[] value) {
        return jedisCluster.setex(key, seconds, value);
    }

    @Override
    public String psetex(byte[] key, long milliseconds, byte[] value) {
        return jedisCluster.psetex(key, milliseconds, value);
    }

    @Override
    public Long decrBy(byte[] key, long decrement) {
        return jedisCluster.decrBy(key, decrement);
    }

    @Override
    public Long decr(byte[] key) {
        return jedisCluster.decr(key);
    }

    @Override
    public Long incrBy(byte[] key, long increment) {
        return jedisCluster.incrBy(key, increment);
    }

    @Override
    public Double incrByFloat(byte[] key, double increment) {
        return jedisCluster.incrByFloat(key, increment);
    }

    @Override
    public Long incr(byte[] key) {
        return jedisCluster.incr(key);
    }

    @Override
    public Long append(byte[] key, byte[] value) {
        return jedisCluster.append(key, value);
    }

    @Override
    public byte[] substr(byte[] key, int start, int end) {
        return jedisCluster.substr(key, start, end);
    }

    @Override
    public Long hset(byte[] key, byte[] field, byte[] value) {
        return jedisCluster.hset(key, field, value);
    }

    @Override
    public Long hset(byte[] key, Map hash) {
        return jedisCluster.hset(key, hash);
    }

    @Override
    public byte[] hget(byte[] key, byte[] field) {
        return jedisCluster.hget(key, field);
    }

    @Override
    public Long hsetnx(byte[] key, byte[] field, byte[] value) {
        return jedisCluster.hsetnx(key, field, value);
    }

    @Override
    public String hmset(byte[] key, Map hash) {
        return jedisCluster.hmset(key, hash);
    }

    @Override
    public List hmget(byte[] key, byte[]... fields) {
        return jedisCluster.hmget(key, fields);
    }

    @Override
    public Long hincrBy(byte[] key, byte[] field, long value) {
        return jedisCluster.hincrBy(key, field, value);
    }

    @Override
    public Double hincrByFloat(byte[] key, byte[] field, double value) {
        return jedisCluster.hincrByFloat(key, field, value);
    }

    @Override
    public Boolean hexists(byte[] key, byte[] field) {
        return jedisCluster.hexists(key, field);
    }

    @Override
    public Long hdel(byte[] key, byte[]... field) {
        return jedisCluster.hdel(key, field);
    }

    @Override
    public Long hlen(byte[] key) {
        return jedisCluster.hlen(key);
    }

    @Override
    public Set hkeys(byte[] key) {
        return jedisCluster.hkeys(key);
    }

    @Override
    public List hvals(byte[] key) {
        return jedisCluster.hvals(key);
    }

    @Override
    public Map hgetAll(byte[] key) {
        return jedisCluster.hgetAll(key);
    }

    @Override
    public byte[] hrandfield(byte[] key) {
        return jedisCluster.hrandfield(key);
    }

    @Override
    public List hrandfield(byte[] key, long count) {
        return jedisCluster.hrandfield(key, count);
    }

    @Override
    public Map hrandfieldWithValues(byte[] key, long count) {
        return jedisCluster.hrandfieldWithValues(key, count);
    }

    @Override
    public Long rpush(byte[] key, byte[]... args) {
        return jedisCluster.rpush(key, args);
    }

    @Override
    public Long lpush(byte[] key, byte[]... args) {
        return jedisCluster.lpush(key, args);
    }

    @Override
    public Long llen(byte[] key) {
        return jedisCluster.llen(key);
    }

    @Override
    public List lrange(byte[] key, long start, long stop) {
        return jedisCluster.lrange(key, start, stop);
    }

    @Override
    public String ltrim(byte[] key, long start, long stop) {
        return jedisCluster.ltrim(key, start, stop);
    }

    @Override
    public byte[] lindex(byte[] key, long index) {
        return jedisCluster.lindex(key, index);
    }

    @Override
    public String lset(byte[] key, long index, byte[] value) {
        return jedisCluster.lset(key, index, value);
    }

    @Override
    public Long lrem(byte[] key, long count, byte[] value) {
        return jedisCluster.lrem(key, count, value);
    }

    @Override
    public byte[] lpop(byte[] key) {
        return jedisCluster.lpop(key);
    }

    @Override
    public List lpop(byte[] key, int count) {
        return jedisCluster.lpop(key, count);
    }

    @Override
    public Long lpos(byte[] key, byte[] element) {
        return jedisCluster.lpos(key, element);
    }

    @Override
    public Long lpos(byte[] key, byte[] element, LPosParams params) {
        return jedisCluster.lpos(key, element, params);
    }

    @Override
    public List lpos(byte[] key, byte[] element, LPosParams params, long count) {
        return jedisCluster.lpos(key, element, params, count);
    }

    @Override
    public byte[] rpop(byte[] key) {
        return jedisCluster.rpop(key);
    }

    @Override
    public List rpop(byte[] key, int count) {
        return jedisCluster.rpop(key, count);
    }

    @Override
    public Long sadd(byte[] key, byte[]... member) {
        return jedisCluster.sadd(key, member);
    }

    @Override
    public Set smembers(byte[] key) {
        return jedisCluster.smembers(key);
    }

    @Override
    public Long srem(byte[] key, byte[]... member) {
        return jedisCluster.srem(key, member);
    }

    @Override
    public byte[] spop(byte[] key) {
        return jedisCluster.spop(key);
    }

    @Override
    public Set spop(byte[] key, long count) {
        return jedisCluster.spop(key, count);
    }

    @Override
    public Long scard(byte[] key) {
        return jedisCluster.scard(key);
    }

    @Override
    public Boolean sismember(byte[] key, byte[] member) {
        return jedisCluster.sismember(key, member);
    }

    @Override
    public List smismember(byte[] key, byte[]... members) {
        return jedisCluster.smismember(key, members);
    }

    @Override
    public byte[] srandmember(byte[] key) {
        return jedisCluster.srandmember(key);
    }

    @Override
    public List srandmember(byte[] key, int count) {
        return jedisCluster.srandmember(key, count);
    }

    @Override
    public Long strlen(byte[] key) {
        return jedisCluster.strlen(key);
    }

    @Override
    public Long zadd(byte[] key, double score, byte[] member) {
        return jedisCluster.zadd(key, score, member);
    }

    @Override
    public Long zadd(byte[] key, double score, byte[] member, ZAddParams params) {
        return jedisCluster.zadd(key, score, member, params);
    }

    @Override
    public Long zadd(byte[] key, Map scoreMembers) {
        return jedisCluster.zadd(key, scoreMembers);
    }

    @Override
    public Long zadd(byte[] key, Map scoreMembers, ZAddParams params) {
        return jedisCluster.zadd(key, scoreMembers, params);
    }

    @Override
    public Double zaddIncr(byte[] key, double score, byte[] member, ZAddParams params) {
        return jedisCluster.zaddIncr(key, score, member, params);
    }

    @Override
    public Set zrange(byte[] key, long start, long stop) {
        return jedisCluster.zrange(key, start, stop);
    }

    @Override
    public Long zrem(byte[] key, byte[]... members) {
        return jedisCluster.zrem(key, members);
    }

    @Override
    public Double zincrby(byte[] key, double increment, byte[] member) {
        return jedisCluster.zincrby(key, increment, member);
    }

    @Override
    public Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params) {
        return jedisCluster.zincrby(key, increment, member, params);
    }

    @Override
    public Long zrank(byte[] key, byte[] member) {
        return jedisCluster.zrank(key, member);
    }

    @Override
    public Long zrevrank(byte[] key, byte[] member) {
        return jedisCluster.zrevrank(key, member);
    }

    @Override
    public Set zrevrange(byte[] key, long start, long stop) {
        return jedisCluster.zrevrange(key, start, stop);
    }

    @Override
    public Set zrangeWithScores(byte[] key, long start, long stop) {
        return jedisCluster.zrangeWithScores(key, start, stop);
    }

    @Override
    public Set zrevrangeWithScores(byte[] key, long start, long stop) {
        return jedisCluster.zrevrangeWithScores(key, start, stop);
    }

    @Override
    public byte[] zrandmember(byte[] key) {
        return jedisCluster.zrandmember(key);
    }

    @Override
    public Set zrandmember(byte[] key, long count) {
        return jedisCluster.zrandmember(key, count);
    }

    @Override
    public Set zrandmemberWithScores(byte[] key, long count) {
        return jedisCluster.zrandmemberWithScores(key, count);
    }

    @Override
    public Long zcard(byte[] key) {
        return jedisCluster.zcard(key);
    }

    @Override
    public Double zscore(byte[] key, byte[] member) {
        return jedisCluster.zscore(key, member);
    }

    @Override
    public List zmscore(byte[] key, byte[]... members) {
        return jedisCluster.zmscore(key, members);
    }

    @Override
    public Tuple zpopmax(byte[] key) {
        return jedisCluster.zpopmax(key);
    }

    @Override
    public Set zpopmax(byte[] key, int count) {
        return jedisCluster.zpopmax(key, count);
    }

    @Override
    public Tuple zpopmin(byte[] key) {
        return jedisCluster.zpopmin(key);
    }

    @Override
    public Set zpopmin(byte[] key, int count) {
        return jedisCluster.zpopmin(key, count);
    }

    @Override
    public List sort(byte[] key) {
        return jedisCluster.sort(key);
    }

    @Override
    public List sort(byte[] key, SortingParams sortingParameters) {
        return jedisCluster.sort(key, sortingParameters);
    }

    @Override
    public Long zcount(byte[] key, double min, double max) {
        return jedisCluster.zcount(key, min, max);
    }

    @Override
    public Long zcount(byte[] key, byte[] min, byte[] max) {
        return jedisCluster.zcount(key, min, max);
    }

    @Override
    public Set zrangeByScore(byte[] key, double min, double max) {
        return jedisCluster.zrangeByScore(key, min, max);
    }

    @Override
    public Set zrangeByScore(byte[] key, byte[] min, byte[] max) {
        return jedisCluster.zrangeByScore(key, min, max);
    }

    @Override
    public Set zrevrangeByScore(byte[] key, double max, double min) {
        return jedisCluster.zrevrangeByScore(key, max, min);
    }

    @Override
    public Set zrangeByScore(byte[] key, double min, double max, int offset, int count) {
        return jedisCluster.zrangeByScore(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScore(byte[] key, byte[] max, byte[] min) {
        return jedisCluster.zrevrangeByScore(key, max, min);
    }

    @Override
    public Set zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count) {
        return jedisCluster.zrangeByScore(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScore(byte[] key, double max, double min, int offset, int count) {
        return jedisCluster.zrevrangeByScore(key, max, min, offset, count);
    }

    @Override
    public Set zrangeByScoreWithScores(byte[] key, double min, double max) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max);
    }

    @Override
    public Set zrevrangeByScoreWithScores(byte[] key, double max, double min) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min);
    }

    @Override
    public Set zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count) {
        return jedisCluster.zrevrangeByScore(key, max, min, offset, count);
    }

    @Override
    public Set zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max);
    }

    @Override
    public Set zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min);
    }

    @Override
    public Set zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count) {
        return jedisCluster.zrangeByScoreWithScores(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min, offset, count);
    }

    @Override
    public Set zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count) {
        return jedisCluster.zrevrangeByScoreWithScores(key, max, min, offset, count);
    }

    @Override
    public Long zremrangeByRank(byte[] key, long start, long stop) {
        return jedisCluster.zremrangeByRank(key, start, stop);
    }

    @Override
    public Long zremrangeByScore(byte[] key, double min, double max) {
        return jedisCluster.zremrangeByScore(key, min, max);
    }

    @Override
    public Long zremrangeByScore(byte[] key, byte[] min, byte[] max) {
        return jedisCluster.zremrangeByScore(key, min, max);
    }

    @Override
    public Long zlexcount(byte[] key, byte[] min, byte[] max) {
        return jedisCluster.zlexcount(key, min, max);
    }

    @Override
    public Set zrangeByLex(byte[] key, byte[] min, byte[] max) {
        return jedisCluster.zrangeByLex(key, min, max);
    }

    @Override
    public Set zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count) {
        return jedisCluster.zrangeByLex(key, min, max, offset, count);
    }

    @Override
    public Set zrevrangeByLex(byte[] key, byte[] max, byte[] min) {
        return jedisCluster.zrevrangeByLex(key, max, min);
    }

    @Override
    public Set zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count) {
        return jedisCluster.zrevrangeByLex(key, max, min, offset, count);
    }

    @Override
    public Long zremrangeByLex(byte[] key, byte[] min, byte[] max) {
        return jedisCluster.zremrangeByLex(key, min, max);
    }

    @Override
    public Long linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value) {
        return jedisCluster.linsert(key, where, pivot, value);
    }

    @Override
    public Long lpushx(byte[] key, byte[]... arg) {
        return jedisCluster.lpushx(key, arg);
    }

    @Override
    public Long rpushx(byte[] key, byte[]... arg) {
        return jedisCluster.rpushx(key, arg);
    }

    @Override
    public Long del(byte[] key) {
        return jedisCluster.del(key);
    }

    @Override
    public Long unlink(byte[] key) {
        return jedisCluster.unlink(key);
    }

    @Override
    public byte[] echo(byte[] arg) {
        return jedisCluster.echo(arg);
    }

    @Override
    public Long bitcount(byte[] key) {
        return jedisCluster.bitcount(key);
    }

    @Override
    public Long bitcount(byte[] key, long start, long end) {
        return jedisCluster.bitcount(key, start, end);
    }

    @Override
    public Long pfadd(byte[] key, byte[]... elements) {
        return jedisCluster.pfadd(key, elements);
    }

    @Override
    public long pfcount(byte[] key) {
        return jedisCluster.pfcount(key);
    }

    @Override
    public Long geoadd(byte[] key, double longitude, double latitude, byte[] member) {
        return jedisCluster.geoadd(key, longitude, latitude, member);
    }

    @Override
    public Long geoadd(byte[] key, Map memberCoordinateMap) {
        return jedisCluster.geoadd(key, memberCoordinateMap);
    }

    @Override
    public Long geoadd(byte[] key, GeoAddParams params, Map memberCoordinateMap) {
        return jedisCluster.geoadd(key, params, memberCoordinateMap);
    }

    @Override
    public Double geodist(byte[] key, byte[] member1, byte[] member2) {
        return jedisCluster.geodist(key, member1, member2);
    }

    @Override
    public Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit) {
        return jedisCluster.geodist(key, member1, member2, unit);
    }

    @Override
    public List geohash(byte[] key, byte[]... members) {
        return jedisCluster.geohash(key, members);
    }

    @Override
    public List geopos(byte[] key, byte[]... members) {
        return jedisCluster.geopos(key, members);
    }

    @Override
    public List georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit) {
        return jedisCluster.georadius(key, longitude, latitude, radius, unit);
    }

    @Override
    public List georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit) {
        return jedisCluster.georadiusReadonly(key, longitude, latitude, radius, unit);
    }

    @Override
    public List georadius(
            byte[] key,
            double longitude,
            double latitude,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadius(key, longitude, latitude, radius, unit, param);
    }

    @Override
    public List georadiusReadonly(
            byte[] key,
            double longitude,
            double latitude,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadiusReadonly(key, longitude, latitude, radius, unit, param);
    }

    @Override
    public List georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit) {
        return jedisCluster.georadiusByMember(key, member, radius, unit);
    }

    @Override
    public List georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit) {
        return jedisCluster.georadiusByMemberReadonly(key, member, radius, unit);
    }

    @Override
    public List georadiusByMember(
            byte[] key,
            byte[] member,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadiusByMember(key, member, radius, unit, param);
    }

    @Override
    public List georadiusByMemberReadonly(
            byte[] key,
            byte[] member,
            double radius,
            GeoUnit unit,
            GeoRadiusParam param) {
        return jedisCluster.georadiusByMemberReadonly(key, member, radius, unit, param);
    }

    @Override
    public ScanResult> hscan(byte[] key, byte[] cursor) {
        return jedisCluster.hscan(key, cursor);
    }

    @Override
    public ScanResult> hscan(byte[] key, byte[] cursor, ScanParams params) {
        return jedisCluster.hscan(key, cursor, params);
    }

    @Override
    public ScanResult sscan(byte[] key, byte[] cursor) {
        return jedisCluster.sscan(key, cursor);
    }

    @Override
    public ScanResult sscan(byte[] key, byte[] cursor, ScanParams params) {
        return jedisCluster.sscan(key, cursor, params);
    }

    @Override
    public ScanResult zscan(byte[] key, byte[] cursor) {
        return jedisCluster.zscan(key, cursor);
    }

    @Override
    public ScanResult zscan(byte[] key, byte[] cursor, ScanParams params) {
        return jedisCluster.zscan(key, cursor, params);
    }

    @Override
    public List bitfield(byte[] key, byte[]... arguments) {
        return jedisCluster.bitfield(key, arguments);
    }

    @Override
    public List bitfieldReadonly(byte[] key, byte[]... arguments) {
        return jedisCluster.bitfieldReadonly(key, arguments);
    }

    @Override
    public Long hstrlen(byte[] key, byte[] field) {
        return jedisCluster.hstrlen(key, field);
    }

    @Override
    public byte[] xadd(byte[] key, byte[] id, Map hash, long maxLen, boolean approximateLength) {
        return jedisCluster.xadd(key, id, hash, maxLen, approximateLength);
    }

    @Override
    public byte[] xadd(byte[] key, Map hash, XAddParams params) {
        return jedisCluster.xadd(key, hash, params);
    }

    @Override
    public Long xlen(byte[] key) {
        return jedisCluster.xlen(key);
    }

    @Override
    public List xrange(byte[] key, byte[] start, byte[] end) {
        return jedisCluster.xrange(key, start, end);
    }

    @Override
    public List xrange(byte[] key, byte[] start, byte[] end, long count) {
        return jedisCluster.xrange(key, start, end, count);
    }

    @Override
    public List xrange(byte[] key, byte[] start, byte[] end, int count) {
        return jedisCluster.xrange(key, start, end, count);
    }

    @Override
    public List xrevrange(byte[] key, byte[] end, byte[] start) {
        return jedisCluster.xrevrange(key, end, start);
    }

    @Override
    public List xrevrange(byte[] key, byte[] end, byte[] start, int count) {
        return jedisCluster.xrevrange(key, end, start, count);
    }

    @Override
    public Long xack(byte[] key, byte[] group, byte[]... ids) {
        return jedisCluster.xack(key, group, ids);
    }

    @Override
    public String xgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream) {
        return jedisCluster.xgroupCreate(key, consumer, id, makeStream);
    }

    @Override
    public String xgroupSetID(byte[] key, byte[] consumer, byte[] id) {
        return jedisCluster.xgroupSetID(key, consumer, id);
    }

    @Override
    public Long xgroupDestroy(byte[] key, byte[] consumer) {
        return jedisCluster.xgroupDestroy(key, consumer);
    }

    @Override
    public Long xgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName) {
        return jedisCluster.xgroupDelConsumer(key, consumer, consumerName);
    }

    @Override
    public Long xdel(byte[] key, byte[]... ids) {
        return jedisCluster.xdel(key, ids);
    }

    @Override
    public Long xtrim(byte[] key, long maxLen, boolean approximateLength) {
        return jedisCluster.xtrim(key, maxLen, approximateLength);
    }

    @Override
    public Long xtrim(byte[] key, XTrimParams params) {
        return jedisCluster.xtrim(key, params);
    }

    @Override
    public Object xpending(byte[] key, byte[] groupname) {
        return jedisCluster.xpending(key, groupname);
    }

    @Override
    public List xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername) {
        return jedisCluster.xpending(key, groupname, start, end, count, consumername);
    }

    @Override
    public List xpending(byte[] key, byte[] groupname, XPendingParams params) {
        return jedisCluster.xpending(key, groupname, params);
    }

    // For compatibility and adaptation
    public List xclaim(
            byte[] key,
            byte[] groupname,
            byte[] consumername,
            long minIdleTime,
            long newIdleTime,
            int retries,
            boolean force,
            byte[][] ids) {
        return jedisCluster.xclaim(key, groupname, consumername, minIdleTime, newIdleTime, retries, force, ids);
    }

    // For compatibility and adaptation
    @Override
    public List xclaim$JedisClusterCommands(
            byte[] key,
            byte[] groupname,
            byte[] consumername,
            long minIdleTime,
            long newIdleTime,
            int retries,
            boolean force,
            byte[][] ids) {
        return xclaim(key, groupname, consumername, minIdleTime, newIdleTime, retries, force, ids);
    }

    @Override
    public List xclaim(
            byte[] key,
            byte[] group,
            byte[] consumername,
            long minIdleTime,
            XClaimParams params,
            byte[]... ids) {
        return jedisCluster.xclaim(key, group, consumername, minIdleTime, params, ids);
    }

    @Override
    public List xclaimJustId(
            byte[] key,
            byte[] group,
            byte[] consumername,
            long minIdleTime,
            XClaimParams params,
            byte[]... ids) {
        return jedisCluster.xclaimJustId(key, group, consumername, minIdleTime, params, ids);
    }

    @Override
    public Long waitReplicas(byte[] key, int replicas, long timeout) {
        return jedisCluster.waitReplicas(key, replicas, timeout);
    }

    @Override
    public Long memoryUsage(byte[] key) {
        return jedisCluster.memoryUsage(key);
    }

    @Override
    public Long memoryUsage(byte[] key, int samples) {
        return jedisCluster.memoryUsage(key, samples);
    }

}