public interface EventLoopGroup
NioEventLoopGroup
that relies on selectors. But also different
implementations can be added like spinning, thread per connection, epoll based etc.
todo:
- packet/client-message reader and metricsNioEventLoopGroup
,
SpinningEventLoopGroup
Modifier and Type | Method and Description |
---|---|
void |
register(Channel channel)
Registers a channel at this
EventLoopGroup . |
void |
shutdown()
Shuts down this EventLoopGroup.
|
void |
start()
Starts this EventLoopGroup.
|
void register(Channel channel)
EventLoopGroup
.
Every Channel should be registered at at most 1 EventLoopGroup and it is very unlikely that during the lifespan of the
Channel, it will change its EventLoopGroup.channel
- the channel to register.void start()
void shutdown()
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.