api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayClient.java
public Boolean setbit(final byte[] key, final long offset, final byte[] value) {
        return this.execute(new RedisClusterCallback<Boolean>() {
            public Boolean doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.setbit(key, offset, value);
            }

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

            public AffinityState getState() {
                return AffinityState.WRITE;
            }
        });
    }
public Boolean setbit(final byte[] key, final long offset, final byte[] value) {
        return this.execute(new RedisClusterCallback<Boolean>() {
            public Boolean doInRedisCluster(RedisCluster redisCluster) {
                return redisCluster.setbit(key, offset, value);
            }

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

            public AffinityState getState() {
                return AffinityState.WRITE;
            }
        });
    }
/*
@see BinaryRedisClusterCommands#setbit(byte[], long, byte[])