Package com.hierynomus.sshj.common
Class ThreadNameProvider
- java.lang.Object
-
- com.hierynomus.sshj.common.ThreadNameProvider
-
public class ThreadNameProvider extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
DISCONNECTED
-
Constructor Summary
Constructors Constructor Description ThreadNameProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
setThreadName(java.lang.Thread thread, RemoteAddressProvider remoteAddressProvider)
Set Thread Name prefixed with sshj followed by class and remote address when connected
-
-
-
Field Detail
-
DISCONNECTED
private static final java.lang.String DISCONNECTED
- See Also:
- Constant Field Values
-
-
Method Detail
-
setThreadName
public static void setThreadName(java.lang.Thread thread, RemoteAddressProvider remoteAddressProvider)
Set Thread Name prefixed with sshj followed by class and remote address when connected- Parameters:
thread
- Class of Thread being namedremoteAddressProvider
- Remote Address Provider associated with Thread
-
-