public Long ttl(byte[] key) { try { if (isPipelined()) { pipeline(pipeline.ttl(key)); return null; } return client.ttl(key).data(); } catch (Exception ex) { throw convertSrpAccessException(ex); } }