@Singleton @Factory public class NettyThreadFactory extends java.lang.Object
NioEventLoopGroup
will use within Micronaut to
create threads.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_EVENT_LOOP_THREADS
Constant with the default threads in the event loop.
|
static java.lang.String |
NAME
Name for Netty thread factory.
|
Constructor and Description |
---|
NettyThreadFactory() |
Modifier and Type | Method and Description |
---|---|
protected java.util.concurrent.ThreadFactory |
nettyThreadFactory()
Constructs the default thread factory used by the HTTP client.
|
public static final java.lang.String NAME
public static final int DEFAULT_EVENT_LOOP_THREADS