Selasa, 07 Februari 2017

What are the thread grouping methods in Java Programming

Following are some of the methods available in ThreadGroup class: getName() – To get the name of the thread groups setMaxPriority() – To set the maximum priority of all the threads in the groups setMinPriority() – To set the minimum priority of all the threads in the groups start() – To start the execution of all the threads in the groups list() – To print information of the thread group and the threads in the groups.   Below program demonstrates the use of thread group in Java: 1 2 3 4 5 6 7 8 9 10 11 12 13 14

The post What are the thread grouping methods in Java Programming appeared first on Coding Security.


What are the thread grouping methods in Java Programming
read more

Tidak ada komentar:

Posting Komentar