Quick write-up on a very nice use case for #Java virtual threads: bridging the gap between legacy Future-based APIs and modern CompletableFuture composition patterns.
👉 www.morling.dev/blog/future-...
Quick write-up on a very nice use case for #Java virtual threads: bridging the gap between legacy Future-based APIs and modern CompletableFuture composition patterns.
👉 www.morling.dev/blog/future-...
Só não sei quando vai ter conf Java no BR...
Só não sei quando vai ter conf Java no BR...
Docs 👉 https://kotl.in/u95jk8
Docs 👉 https://kotl.in/u95jk8
#async #completablefuture #java #virtualthreads
www.javacodegeeks.com/2...
#async #completablefuture #java #virtualthreads
www.javacodegeeks.com/2...
You'll also learn a lot about testing from him.
bsky.app/profile/kuba...
The command is an intent to perform an action.
Events capture decisions made.
We can also get an error back if the command cannot be executed.
You'll also learn a lot about testing from him.
bsky.app/profile/kuba...
Master the ideas behind Java concurrency, from threads, race conditions, and synchronization to CompletableFuture, virtual threads, … leanpub.com/concurrentpr...
Master the ideas behind Java concurrency, from threads, race conditions, and synchronization to CompletableFuture, virtual threads, … leanpub.com/concurrentpr...
The APIs are mature. The best practices are not.
How do coroutines interact with reactive streams? CompletableFuture? Loom?
You should have a chapter on Burst’s CoroutineTestInterceptor and another on TestBalloon.
The APIs are mature. The best practices are not.
How do coroutines interact with reactive streams? CompletableFuture? Loom?
You should have a chapter on Burst’s CoroutineTestInterceptor and another on TestBalloon.
#java #multithreading
dev.to/aaravjoshi/advan...
#java #multithreading
dev.to/aaravjoshi/advan...
Foi bom pra estudar.
Foi bom pra estudar.
In this hands-on workshop, @venkats.bsky.social explores callbacks, CompletableFuture, and virtual threads, helping you understand the tradeoffs of each and when to use them.
🔗 Info + tickets: www.dev2next.com/schedule
In this hands-on workshop, @venkats.bsky.social explores callbacks, CompletableFuture, and virtual threads, helping you understand the tradeoffs of each and when to use them.
🔗 Info + tickets: www.dev2next.com/schedule
https://www.javacodegeeks.com/tranform-future-into-completablefuture.html
#Core #javaef="/hashtag/Java" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link">#Java #Asynchronous #Programming #CompletableFuture #Future #java #concurrency
Event Attributes
https://www.javacodegeeks.com/tranform-future-into-completablefuture.html
#Core #javaef="/hashtag/Java" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link">#Java #Asynchronous #Programming #CompletableFuture #Future #java #concurrency
Event Attributes
Another nice improvement from @douglea.bsky.social
- "Improve performance of delayed task handling . This speeds up some Loom operations by almost an order of magnitude (and similarly for CompletableFuture). 🤯 #jvm
Another nice improvement from @douglea.bsky.social
- "Improve performance of delayed task handling . This speeds up some Loom operations by almost an order of magnitude (and similarly for CompletableFuture). 🤯 #jvm
Now you need its result. 🤔
That's where `Future` comes in:
```java
Future
executor.submit(() -> 10 + 20);
Integer result = f.get();
```
I explained Future, CompletableFuture
gauravrshegekar.substack.com/p/future-in-...?
#Java #Multithreading
Now you need its result. 🤔
That's where `Future` comes in:
```java
Future
executor.submit(() -> 10 + 20);
Integer result = f.get();
```
I explained Future, CompletableFuture
gauravrshegekar.substack.com/p/future-in-...?
#Java #Multithreading
Esta infografía, basada en el artículo de
@ascinfo.dev , explora las diferencias entre CompletableFuture y Promesas, mostrando cómo cada lenguaje aborda la asincronía de manera única.
Artículo completo aquí👉 bit.ly/4jaUHup
Esta infografía, basada en el artículo de
@ascinfo.dev , explora las diferencias entre CompletableFuture y Promesas, mostrando cómo cada lenguaje aborda la asincronía de manera única.
Artículo completo aquí👉 bit.ly/4jaUHup
medium.com/@valdemarjun...
#springboot #springframework #java
medium.com/@valdemarjun...
#springboot #springframework #java