public interface EventLoopResources
| Modifier and Type | Method and Description |
|---|---|
Class<? extends DatagramChannel> |
datagramChannelClass() |
Class<? extends Channel> |
domainSocketChannelClass() |
Class<? extends EventLoopGroup> |
eventLoopGroupClass() |
boolean |
matches(Class<? extends EventExecutorGroup> type)
Checks if the given
type matches the underlying EventExecutorGroup type. |
EventLoopGroup |
newEventLoopGroup(int nThreads,
ThreadFactory threadFactory)
Create a new
EpollEventLoopGroup. |
SocketAddress |
newSocketAddress(String socketPath) |
Class<? extends Channel> |
socketChannelClass() |
boolean matches(Class<? extends EventExecutorGroup> type)
type matches the underlying EventExecutorGroup type.type - must not be null.true if type is a EventExecutorGroup of the underlying loop resources.Class<? extends EventLoopGroup> eventLoopGroupClass()
EventLoopGroup class.EventLoopGroup newEventLoopGroup(int nThreads, ThreadFactory threadFactory)
EpollEventLoopGroup.nThreads - number of threads.threadFactory - the ThreadFactory.EventLoopGroup.Class<? extends Channel> domainSocketChannelClass()
Channel class.Class<? extends DatagramChannel> datagramChannelClass()
DatagramChannel class.SocketAddress newSocketAddress(String socketPath)
socketPath - the socket file path.Copyright © 2024 lettuce.io. All rights reserved.