https://github.com/muttalipkucuk/education-java-se-8-java.util.concurrent
Examples with package java.util.concurrent
https://github.com/muttalipkucuk/education-java-se-8-java.util.concurrent
completablefuture completionstage concurrency future java-8 java-se
Last synced: 2 months ago
JSON representation
Examples with package java.util.concurrent
- Host: GitHub
- URL: https://github.com/muttalipkucuk/education-java-se-8-java.util.concurrent
- Owner: muttalipkucuk
- Created: 2018-06-18T13:08:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T13:12:08.000Z (over 7 years ago)
- Last Synced: 2025-01-22T19:48:23.997Z (about 1 year ago)
- Topics: completablefuture, completionstage, concurrency, future, java-8, java-se
- Language: Java
- Homepage: https://docs.oracle.com/javase/8/docs/api/?java/util/concurrent/package-summary.html
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
https://examples.javacodegeeks.com/core-java/util/concurrent/completablefuture/java-completionstage-completablefuture-example/
http://millross-consultants.com/completion-stage-future-introduction.html
Interface CompletionStage
Interface Future
Class CompletableFuture implements Future, CompletionStage
CompletableFuture supplyAsync() API
public static CompletableFuture supplyAsync(Supplier supplier)
public static CompletableFuture supplyAsync(Supplier supplier, Executor executor)
CompletableFuture runAsync() API
public static CompletableFuture runAsync(Runnable runnable)
public static CompletableFuture runAsync(Runnable runnable, Executor executor)
The thenApply Method