-
Notifications
You must be signed in to change notification settings - Fork 1k
Added a functional interface EventLoopSchedulerFactory #5323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
81af7b9
f1ff6c6
af2f9d0
4776e64
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,15 @@ | ||||||
| package com.linecorp.armeria.client; | ||||||
|
|
||||||
| import io.netty.channel.EventLoopGroup; | ||||||
|
|
||||||
| import java.util.List; | ||||||
| import java.util.function.ToIntFunction; | ||||||
|
|
||||||
| @FunctionalInterface | ||||||
| public interface EventLoopSchedulerFactory { | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you deprecate the following API and add a new API using this interface? armeria/core/src/main/java/com/linecorp/armeria/client/ClientFactoryBuilder.java Lines 162 to 163 in a8106e1
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah! Yes, that should be no problem. What does the deprecation process look like? |
||||||
| EventLoopScheduler newScheduler(EventLoopGroup eventLoopGroup, | ||||||
| List<ToIntFunction<Endpoint>> maxNumEventLoopFunctions, | ||||||
| int maxNumEventLoopsFunctions, | ||||||
| int maxNumEventLoopsPerHttp1Endpoint, | ||||||
| long idleTimeOutMillis); | ||||||
| } | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing copyright