Java forkJoinPool getQueuedSubmissionCount() Method
The getQueuedSubmissionCount() method of ForkJoinPool class is used to get the number of tasks submitted to the pool but yet to be executed.
The number of queued submissions
Does not throw the Exception.
Example 1Test it Now
Queued Submission :0
Example 2Test it Now
numbers of core available in your processor:4 Before Queued Submission :0 is awaitQuiescent :true After Queued Submission :0 Pool.invoke :161