asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Blow (Code Review)" <>
Subject Change in asterixdb[master]: [NO ISSUE][OTH] Enable adding request channel close listener
Date Mon, 19 Feb 2018 18:18:27 GMT
Michael Blow has posted comments on this change.

Change subject: [NO ISSUE][OTH] Enable adding request channel close listener

Patch Set 5:

File hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/api/

PS5, Line 26: Close
close -vs- closed; let's pick one

PS5, Line 29: closed
closed -vs- close- let's pick one

PS5, Line 36: taks

PS5, Line 38: handle
rename this to be less generic e.g. handleClosed, to enable classes to implement this multiple
interfaces and have it be clear what this method is.
File hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/api/

PS5, Line 50: null
should we add HttpServer as a method parameter, and return server.getCHannelCloseHandler()
here?  it might make use of this less clunky, but no strong preference
File hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/

PS5, Line 382:     // Q. Why do we pass the handler?
this was to enable extensions to choose a thread pool based on the request, which AFAIK none
File hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/

PS5, Line 105: chek

PS5, Line 103:            // check if the servlet has a close handler first
             :             IChannelCloseHandler channelCloseHandler = servlet.getChannelCloseHandler();
             :             // chek the if the server has a close handler
             :             if (channelCloseHandler == null) {
             :                 channelCloseHandler = server.getChannelCloseHandler();
             :             }
i think this gets cleaner if the servlet default impl delegates to server

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I42f1857c0158af6f447282cab8fbd600767b08d5
Gerrit-PatchSet: 5
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Dmitry Lychagin <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Michael Blow <>
Gerrit-Reviewer: Murtadha Hubail <>
Gerrit-Reviewer: Till Westmann <>
Gerrit-Reviewer: abdullah alamoudi <>
Gerrit-HasComments: Yes

View raw message