In Oracle Java documentation for CompletionStage and ComletableFuture all *Async
methods without an explicit Executor argument refer to some stage's default asynchronous execution facility
executes the given action using this stage's default asynchronous execution facility
But what is this "execution facility" is not explicitly defined! Does this mean some default executor/tread pool?
At least ComletableFuture
doc mentions:
All async methods without an explicit Executor argument are performed using the
ForkJoinPool.commonPool()
So, does this mean that ForkJoinPool.commonPool()
is a "default asynchronous execution facility"?
What else, besides a thread pool and an Executor
could be a "default asynchronous execution facility"?