- What is
ForkJoinPool
?
ForkJoinPool.commonPool().invokeAll(Arrays.asList(applePicker1, applePicker2, applePicker3));
-
What is
deadlock
? -
Differences between
RecursiveTask
andRecursiveAction
?- RecursiveTask,
compute():T
- RecursiveAction,
compute():void
- RecursiveTask,
-
Differences between
ForkJoinPool.invlove()
andexecute()
?invoke
, completes the given taskexecute
, arranges asynchronous, don't wait for them to complete
-
completeExceptionally()
, nothing Failed? -
Differences between
invokeAll(Callables):List<Future<T>>
andinvoke(task):T
?