Class ThreadNames
java.lang.Object
com.palantir.nylon.threads.ThreadNames
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetThreadName(Thread thread, String name) Sets the name of a java thread without native overhead to rename the OS thread.
-
Method Details
-
setThreadName
Sets the name of a java thread without native overhead to rename the OS thread. Note that unlikeThread.setName(String)this implementation may not synchronize on thethreadobject.
-