Need to know the insights of the complete future task without an executor.
Here is my sample code
CompletableFuture.runAsync(() -> {
dosomething();
});
How is this task assigned to the thread? Do we have any size for the waiting queue and the thread count?
Have you tried the CompletableFuture javadoc?
public static CompletableFuture runAsync(Runnable runnable)
public static CompletableFuture runAsync(Runnable runnable, Executor executor)
See also ForkJoinPool javadoc