~/talk

CompletableFuture Is Already Here

TalkinRussianat JPoint 2015 · on Monday, 2015-04-20· [java]
links:none on file
slides:none on file

CompletableFuture in Java 8 as a replacement for blocking Future/ExecutorService patterns, demonstrating how to move from callback-heavy or blocking code to non-blocking, functional-style code using CompletableFuture with streams and lambdas. Covers the CompletableFuture API, performance/overheads, and gives practical guidance for multilayered systems (example: a web server).

AI-written summary · about

  1. 0:00CompletableFuture intro
  2. 2:00Java concurrency history
  3. 5:31Future API problems
  4. 8:12Creating CompletableFuture
  5. 11:31Async streams
  6. 14:28Error handling in chains
  7. 19:47Combining futures
  8. 22:37Parallel execution
  9. 27:01Thread surprises
  10. 30:18Performance comparison
  11. 35:12Q&A
  12. 37:42CompletableStage in JDK
  13. 38:46Real-world server example
  14. 45:01Timeout management
  15. 47:17Live demo & conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.