摘要: ``` ExecutorService service = Executors.newSingleThreadExecutor(); Runnable task = () -> { System.out.println("start"); try { TimeUnit.SECONDS.sleep(5); } catch (InterruptedException e) { e.printStack 阅读全文
posted @ 2020-03-25 10:38 木叶小寒江 阅读(1691) 评论(0) 推荐(0) 编辑