Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
来自JCIP的报价:
“ FutureTask也像一个闩锁。”
FutureTask.get()将像CountDownLatch.await(). 两者都是阻塞方法,但具有超时的重载变体。
FutureTask.get()
CountDownLatch.await()