4.0.0 com.ankurm java-core-examples 1.0 completablefuture completablefuture CompletableFuture in Java: thenApply vs thenCompose, which thread runs each stage, exception handling (exceptionally/handle/whenComplete), orTimeout/completeOnTimeout, allOf/anyOf, and a measured comparison with virtual threads. org.junit.jupiter junit-jupiter 6.1.3 test org.apache.maven.plugins maven-compiler-plugin 3.16.0 25 org.apache.maven.plugins maven-surefire-plugin 3.6.1