-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Review Handler Collection logic around InvocationType #11425
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
Comments
see also #12266 |
@joakime can you describe a bit more what this issue is about? If I look at @Override
public InvocationType getInvocationType()
{
if (isDynamic())
return InvocationType.BLOCKING;
InvocationType invocationType = InvocationType.NON_BLOCKING;
for (Handler handler : _handlers)
invocationType = Invocable.combine(invocationType, handler.getInvocationType());
return invocationType;
} Which is not very efficient, but appears to be correct. So is this issue about efficiency or correctness? |
I filed this on behalf of @sbordet while we were reviewing PR #11412 It started as a result of trying to understand the lines ... And how they interacted with the various Handler collections behaviors too. |
Jetty version(s)
12.0.6
Jetty Environment
Any
Java version/vendor
(use: java -version)
Any
OS type/version
Any
Description
While reviewing PR #11412 a question about the InvocationType logic in the various Handler Collection implementations was brought up.
See
The text was updated successfully, but these errors were encountered: