Package io.micronaut.http.netty.channel
Class NettyThreadFactory
java.lang.Object
io.micronaut.http.netty.channel.NettyThreadFactory
The Default thread factory the Netty
NioEventLoopGroup will use within Micronaut to
create threads.- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstant with the default threads in the event loop.static final StringName for Netty thread factory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ThreadFactoryConstructs the default thread factory used by the HTTP client.
-
Field Details
-
NAME
Name for Netty thread factory.- See Also:
-
DEFAULT_EVENT_LOOP_THREADS
public static final int DEFAULT_EVENT_LOOP_THREADSConstant with the default threads in the event loop.
-
-
Constructor Details
-
NettyThreadFactory
public NettyThreadFactory()
-
-
Method Details
-
nettyThreadFactory
Constructs the default thread factory used by the HTTP client.- Returns:
- The thread factory
-