docs: public static long getThreadId() {
          final Long threadId = THREAD_LOCAL.get();
          if (threadId != null) {
              return threadId;
          }
          return Thread.currentThread().getId();
      }