About Question enthuware.ocpjp.v8.2.1260 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
nikitos
Posts: 21
Joined: Mon Oct 24, 2016 6:55 am
Contact:

About Question enthuware.ocpjp.v8.2.1260 :

Post by nikitos »

How to create ForkJoinPool with 10 threads?
Class contains 3 constructors, but only in first is declared that by default will be used number of processors. For other is used int parallelism, but it does not sound like threads cound.

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1260 :

Post by admin »

You can't explicitly specify the number of threads. As you have noted, you can specify the level of paralallism, which is basically implemented using threads.

HTH,
Paul.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests