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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -