Skip to content

Commit

Permalink
Fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
normanmaurer committed Jun 12, 2024
1 parent 6cd2159 commit 3d98a0f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions news/2024-06-12-4-2-0-Alpha1.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,17 @@ In previous versions of netty the `EventLoopGroup` implementation was tightly co
This has changed in 4.2.0, here you will use one `EventLoopGroup` implementation for all transports. This allows for easier customization of it (think of it like `ThreadPoolExecutor` that can be extended and customized). To make this possible we extracted the whole IO handling / multiplexing to another class that is injected into the `MultiThreadIoEventLoopGroup`.

For example:
```

```java
new EpollEventLoop();
```

becomes
```
new MultiThreadIoEventLoopGroup(EpollIoHandler.newFactory();

```java
new MultiThreadIoEventLoopGroup(EpollIoHandler.newFactory();
```

Other transports follow the same pattern.

`MultiThreadIoEventLoopGroup` and `SingleThreadIoEventLoop` provide various methods that can be overridden by the user and so provide the ability to:
Expand Down

0 comments on commit 3d98a0f

Please sign in to comment.