Top Constructors Methods
io.netty.channel.local

public Class LocalEventLoopGroup

extends DefaultEventLoopGroup
Class Inheritance
Annotations
@Deprecated
Imports
io.netty.channel.DefaultEventLoopGroup, java.util.concurrent.ThreadFactory

Deprecated

Use DefaultEventLoopGroup instead.

Constructor Summary

AccessConstructor and Description
public
LocalEventLoopGroup()

Create a new instance with the default number of threads.

public
LocalEventLoopGroup(int
the number of threads to use
nThreads
)

Create a new instance

public
LocalEventLoopGroup(ThreadFactory
the ThreadFactory or null to use the default
threadFactory
)

Create a new instance with the default number of threads and the given ThreadFactory.

public
LocalEventLoopGroup(int
the number of threads to use
nThreads
,
ThreadFactory
the ThreadFactory or null to use the default
threadFactory
)

Create a new instance

Method Summary

Inherited from io.netty.channel.DefaultEventLoopGroup:
newChild

Constructor Detail

LocalEventLoopGroupback to summary
public LocalEventLoopGroup()

Create a new instance with the default number of threads.

LocalEventLoopGroupback to summary
public LocalEventLoopGroup(int nThreads)

Create a new instance

Parameters
nThreads:int

the number of threads to use

LocalEventLoopGroupback to summary
public LocalEventLoopGroup(ThreadFactory threadFactory)

Create a new instance with the default number of threads and the given ThreadFactory.

Parameters
threadFactory:ThreadFactory

the ThreadFactory or null to use the default

LocalEventLoopGroupback to summary
public LocalEventLoopGroup(int nThreads, ThreadFactory threadFactory)

Create a new instance

Parameters
nThreads:int

the number of threads to use

threadFactory:ThreadFactory

the ThreadFactory or null to use the default