protected static class NettyTransceiver.NettyTransceiverThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
NettyTransceiver.NettyTransceiverThreadFactory(String prefix)
Creates a NettyTransceiverThreadFactory that creates threads with the
specified name.
|
public NettyTransceiver.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–2017 The Apache Software Foundation. All rights reserved.