Skip to content

Replace use of old EventLoopGroup construction with new way of constructing it - #14020

Merged
normanmaurer merged 5 commits into
4.2from
refactor_eventloopgroup_usage
May 2, 2024
Merged

normanmaurer merged 5 commits into
4.2from
refactor_eventloopgroup_usage

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motiviation:

#13991 introduced a new way of how EventLoopGroups should be constructed. We should update our code to use the new way in examples and tests

Modifications:

Rewrite all tests / example to use new way of constructing

Result:
Cleanup

@normanmaurer normanmaurer added this to the 4.2.0.Final milestone Apr 30, 2024
@normanmaurer

Copy link
Copy Markdown
Member Author

This depends on #14019 ... so #14019 will be merged first

normanmaurer added a commit that referenced this pull request Apr 30, 2024
Motivation:

#14020 introduced a new way how registrations are done. Unfortunally there was a type and so interfaces / classes were named incorrectly.

Modifications:

- Rename *IoOpts to *IoOps

Result:

Correct spelling
normanmaurer added a commit that referenced this pull request Apr 30, 2024
Motivation:

#14020 introduced a new way how
registrations are done. Unfortunally there was a type and so interfaces
/ classes were named incorrectly.

Modifications:

- Rename *IoOpts to *IoOps

Result:

Correct spelling
@normanmaurer
normanmaurer force-pushed the refactor_eventloopgroup_usage branch from 4b74883 to ee41b5d Compare April 30, 2024 14:20
…cific IoHandler

Motivation:

We need to provide a way for the user to check if an `IoEventLoopGroup` is supporting NIO / Epoll / KQueue etc.
Before people often used `group instanceof NioEventLoopGroup` etc.

Modifications:

Add new method that people can use to check what kind of IO is used.

Result:

People can use `group.isIoType(NioHandler.class)` etc.
@normanmaurer
normanmaurer force-pushed the refactor_eventloopgroup_usage branch 2 times, most recently from 4d7387d to 0dbbf9a Compare April 30, 2024 16:26
…ucting it

Motiviation:

#13991 introduced a new way of how EventLoopGroups should be constructed. We should update our code to use the new way in examples and tests

Modifications:

Rewrite all tests / example to use new way of constructing

Result:
Cleanup
@normanmaurer
normanmaurer merged commit c390810 into 4.2 May 2, 2024
@normanmaurer
normanmaurer deleted the refactor_eventloopgroup_usage branch May 2, 2024 06:20
normanmaurer added a commit that referenced this pull request May 10, 2024
…pGroups

Motivation:

#14020 did miss to change EpollSocketTestPermution and KqueueSocketTestPermution

Modifications:

Update missed files

Result:

Cleanup
normanmaurer added a commit that referenced this pull request May 11, 2024
#14044)

…pGroups

Motivation:

#14020 did miss to change
EpollSocketTestPermution and KqueueSocketTestPermution

Modifications:

Update missed files

Result:

Cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants