public final class WithThreadName extends Object implements AutoCloseable
Constructor and Description |
---|
WithThreadName(String suffix)
Sets the current thread’s name.
|
public WithThreadName(String suffix)
suffix
- text to append to the original namepublic void close()
close
in interface AutoCloseable
Copyright © 2016–2018. All rights reserved.