multithreading - How do I customize all the names of the child threads of a ThreadFactory in Java? -
If I am expanding an existing threadfactor implementation, then how do I go to make sure all threads created Will there be a single prefix? I am sick and tired by looking at thread-9 in my logs and want to differentiate between threads.
Do anyone have suggestions on how to provide their own implementation of the ThreadFactory interface:
Comments
Post a Comment