Wrap Elasticsearch client response into CompletableFuture in Java for Elasticsearch transport client or Java high level REST client.
Release note of Vavr Jackson 1.0.0 Alpha 3.
Why do we need CompletableFuture? What is its strength compared to synchronous code and classic future in Java? How to remember its APIs?
How to write a new actor in Akka in Java? This post explains actor creation, message reception, and testing.
How to handle exception in CompletableFuture? This article explains the difference between handle(), whenComplete(), and exceptionally().
Use java.time.Clock to control time in your unit tests. This article will mainly focus on usage of fixed clock and offset clock.
How CompletableFuture is tested in OpenJDK 14? What can we learn from it?
Initialize Mockito mock objects in JUnit 5 using MockitoExtension, MockitoAnnotations#initMocks, or Mockito#mock.
170 post articles, 22 pages.