Not a lot of code in there, it makes me happy that...
# exposed
j
Not a lot of code in there, it makes me happy that I can read through the whole code-base in 5 minutes:
Copy code
synchronized ExecutorService exec() {
      if (exec == null) {
        exec = new ThreadPoolExecutor(1, 1,
            1000L, TimeUnit.MILLISECONDS,
            new LinkedBlockingQueue<>(),
            (r -> new Thread(r, "vertx-jdbc-service-get-connection-thread")));
      }
      return exec;
    }
https://github.com/vert-x3/vertx-jdbc-client/blob/7d2528c2f76495fcb85ff7e67aac9888dd81594b/src/main/java/io/vertx/ext/jdbc/impl/JDBCClientImpl.java