protected static class NettyTransceiver.NettyTransceiverThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
NettyTransceiverThreadFactory(String prefix)
Creates a NettyTransceiverThreadFactory that creates threads with the
specified name.
|
public NettyTransceiverThreadFactory(String prefix)
prefix
- the name prefix to use for all threads created by this
ThreadFactory. A unique ID will be appended to this prefix to
form the final thread name.public Thread newThread(Runnable r)
newThread
in interface ThreadFactory
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.