public void setEx(byte[] key, long time, byte[] value) { try { if (isPipelined()) { pipeline(pipeline.setex(key, time, value)); return; } client.setex(key, time, value); } catch (Exception ex) { throw convertSrpAccessException(ex); } }