We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2308d2 commit 18ea39fCopy full SHA for 18ea39f
1 file changed
docs/java/concurrent/java-concurrent-questions-03.md
@@ -885,6 +885,7 @@ public FutureTask(Runnable runnable, V result) {
885
886
`FutureTask`相当于对`Callable` 进行了封装,管理着任务执行的情况,存储了 `Callable` 的 `call` 方法的任务执行结果。
887
888
+关于更多 `Future` 的源码细节,可以肝这篇万字解析,写的很清楚:[Java是如何实现Future模式的?万字详解!](https://juejin.cn/post/6844904199625375757)。
889
### CompletableFuture 类有什么用?
890
891
`Future` 在实际使用过程中存在一些局限性比如不支持异步任务的编排组合、获取计算结果的 `get()` 方法为阻塞调用。
0 commit comments