Java ForkJoinPool isQuiescent() Method
The isQuiscent() method of ForkJoinPool class returns true if all the worker threads are currently idle. An idle worker is the one that cannot obtain a task to execute because none are available to steal from other threads, and there are no pending submissions to the pool.
No parameter is passed.
True if all threads are currently idle
Does not throw the exception.
Example 1Test it Now
numbers of core available in your processor:4 is Quiescent :true Pool.invoke :161
Example 2Test it Now
numbers of core available in your processor:4 is Quiescent :true