JDK8写代码比较好的技巧 Future FutureTask Callable Stream Predict Function Optional Lombok Google中的ImmuableMap

  1. Future模式
    https://blog.csdn.net/qq_31617121/article/details/80862283

  2. 异步/同步/阻塞/非阻塞
    https://www.cnkirito.moe/future-and-promise/
    Netty https://netty.io/wiki/using-as-a-generic-library.html#wiki-h2-5

  3. CompletableFuture
    CompletableFuture详解
    https://colobu.com/2016/02/29/Java-CompletableFuture/
    CompletableFuture 详解
    https://www.jianshu.com/p/6f3ee90ab7d3
    Java8的CompletableFuture进阶之道
    https://juejin.im/post/5ca47aa0e51d457131257269
    thenApply与thenCompose的异同
    https://blog.csdn.net/weixin_33795093/article/details/88462597
    CompletableFuture用法 这篇讲的不错
    https://juejin.im/post/5b4622df5188251ac9766f47
    Future与FutureTask的区别与联系
    https://blog.csdn.net/f641385712/article/details/83546803
    Java8新的异步编程方式 CompletableFuture(一)
    https://www.jianshu.com/p/dff9063e1ab6

你可能感兴趣的:(java)