registeredChannelsList() — netty Function Reference
Architecture documentation for the registeredChannelsList() function in EpollIoHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c3134656_25c7_4977_bd10_7885be81e8e1["registeredChannelsList()"] e531fecb_b495_8b97_8d1b_49ff2b5ccdbb["EpollIoHandler"] c3134656_25c7_4977_bd10_7885be81e8e1 -->|defined in| e531fecb_b495_8b97_8d1b_49ff2b5ccdbb style c3134656_25c7_4977_bd10_7885be81e8e1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollIoHandler.java lines 350–363
List<Channel> registeredChannelsList() {
IntObjectMap<DefaultEpollIoRegistration> ch = registrations;
if (ch.isEmpty()) {
return Collections.emptyList();
}
List<Channel> channels = new ArrayList<>(ch.size());
for (DefaultEpollIoRegistration registration : ch.values()) {
if (registration.handle instanceof AbstractEpollChannel.AbstractEpollUnsafe) {
channels.add(((AbstractEpollChannel.AbstractEpollUnsafe) registration.handle).channel());
}
}
return Collections.unmodifiableList(channels);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does registeredChannelsList() do?
registeredChannelsList() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollIoHandler.java.
Where is registeredChannelsList() defined?
registeredChannelsList() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollIoHandler.java at line 350.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free