Package io.micronaut.http.netty.channel
Class NettyThreadFactory
- java.lang.Object
-
- io.micronaut.http.netty.channel.NettyThreadFactory
-
@Singleton @Factory public class NettyThreadFactory extends java.lang.ObjectThe Default thread factory the NettyNioEventLoopGroupwill use within Micronaut to create threads.- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_EVENT_LOOP_THREADSConstant with the default threads in the event loop.static java.lang.StringNAMEName for Netty thread factory.
-
Constructor Summary
Constructors Constructor Description NettyThreadFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.concurrent.ThreadFactorynettyThreadFactory()Constructs the default thread factory used by the HTTP client.
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
Name for Netty thread factory.- See Also:
- Constant Field Values
-
DEFAULT_EVENT_LOOP_THREADS
public static final int DEFAULT_EVENT_LOOP_THREADS
Constant with the default threads in the event loop.
-
-