Ihar Hancharenka fbedc0671c m
2025-04-09 18:14:55 +03:00

16 строки
658 B
Plaintext

baeldung
https://www.baeldung.com/java-completablefuture
https://www.baeldung.com/java-completablefuture-non-blocking
https://www.baeldung.com/java-exceptions-completablefuture#bd-exceptionally
https://www.baeldung.com/java-completablefuture-runasync-supplyasync#bd-exception-handling
var someFuture = supplyAsync(someSource)
.thenCombine(supplyAsync(otherSource), combiner)
.exceptionally(ex -> someMethod(ex.getCause()));
2024
JPoint - Demintsev - Async HTTP Clients IO Bench using JMH 0:00 of 43:40
https://www.youtube.com/watch?v=qcC_DGkFRSA
2022
https://tutsnode.net/asynchronous-programming-in-java-se-17/
! 876.2m