The Java ForkJoinPool Class

preview_player
Показать описание
The Java ForkJoinPool class is part of the fork-join framework for parallel programming and implements the ExecutorService interface. Unlike ThreadPoolExecutor, it limits configuration options to make the framework internally adaptive. The class mainly executes ForkJoin tasks, but can also handle runnables and callables. Configuration is mostly confined to the 'common ForkJoinPool,' the default thread pool, whose size can be set via system properties or ManagedBlocker instances. The ManagedBlocker mechanism enables transparent dynamic thread adjustment, simplifying parallel programming by removing the need for manual tuning of thread settings.
Рекомендации по теме
join shbcf.ru