📅  最后修改于: 2022-03-11 15:00:17.591000             🧑  作者: Mango
CompletableFuture.runAsync(() -> {
try {
TimeUnit.SECONDS.sleep(3);
System.out.println("I'm special thread "+ContextHolder.getContext());
} catch (InterruptedException e) {
e.printStackTrace();
}
});