code: @Override
      public Boolean expire(byte[] key, long seconds) {
          try {
              if (isPipelined()) {
                  pipeline(new JedisResult(pipeline.expire(key, (int) seconds), JedisConverters.longToBoolean()));
                  return null;
              }
              return JedisConverters.toBoolean(client.expire(key, (int) seconds));
          } catch (Exception ex) {
              throw convertException(ex);
          }
      }
docs: /*
  @see org.springframework.data.redis.connection.RedisKeyCommands#expire(byte[], long)