public Boolean sAdd(byte[] key, byte[] value) { try { if (isPipelined()) { pipeline(pipeline.sadd(key, new Object[] {value})); return null; } return (client.sadd(key, new Object[] {value}).data() == 1); } catch (Exception ex) { throw convertSrpAccessException(ex); } }