Thread.currentthread ()

clipboard.png

this string of code is located in the concurrency section of Think In Java

as shown in the picture, I would like to ask you, what does the 1 or 10 after this pool-1-thread-6,pool-1-thread-2,pool-1-thread-3, mean? I am puzzled

Mar.02,2021

public String toString() {
        ThreadGroup group = getThreadGroup();
        if (group != null) {
            return "Thread[" + getName() + "," + getPriority() + "," +
                           group.getName() + "]";
        } else {
            return "Thread[" + getName() + "," + getPriority() + "," +
                            "" + "]";
        }
    }

that number represents priority, (min) 1-10 (max).

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b364a7-343b0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b364a7-343b0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?