@Override
    public Boolean setBit(byte[] key, long offset, boolean value) {
        try {
            if (isPipelined()) {
                pipeline(new JedisResult(pipeline.setbit(key, offset, JedisConverters.toBit(value))));
                return null;
            }

            return client.setbit(key, offset, JedisConverters.toBit(value));
        } catch (Exception ex) {
            throw convertException(ex);
        }

    }
@Override
    public Boolean setBit(byte[] key, long offset, boolean value) {
        try {
            if (isPipelined()) {
                pipeline(new JedisResult(pipeline.setbit(key, offset, JedisConverters.toBit(value))));
                return null;
            }

            return client.setbit(key, offset, JedisConverters.toBit(value));
        } catch (Exception ex) {
            throw convertException(ex);
        }

    }
@ Override public Boolean setBit ( byte [ ] key , long offset , boolean value ) { try { if ( isPipelined ( ) ) { pipeline ( new JedisResult ( pipeline . setbit ( key , offset , JedisConverters . toBit ( value ) ) ) ) ; return null ; } return client . setbit ( key , offset , JedisConverters . toBit ( value ) ) ; } catch ( Exception ex ) { throw convertException ( ex ) ; } }
/*
@see org.springframework.data.redis.connection.RedisStringCommands#setBit(byte[], long, boolean)
/ *