Tagged: Concurrency

Subjects that have to do with multi-threaded and concurrent programming.

The Future is Completable in Java 8

As I mentioned in my previous post, interface FutureĀ in Java up to version 7 has a serious limitation, and that is that it’s not possible to get notified when the result is available. The only thing you can do with a FutureĀ is call get() on it, which will block if...

Listen to the Future with Google Guava

Futures are one of the many concepts that are useful for building scalable software. A future is an object that acts as a placeholder for the result of some operation that has yet to be performed. This is useful for asynchronous, non-blocking programming, which is what you want to do...