incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (S4-14) Listener.recv() behavior when interrupted
Date Thu, 20 Oct 2011 17:22:16 GMT

     [ https://issues.apache.org/jira/browse/S4-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karthik Kambatla resolved S4-14.
--------------------------------

    Resolution: Fixed

Modified UDP and Netty Listners to return null, and also added documentation to the Listener
interace.
                
> Listener.recv() behavior when interrupted
> -----------------------------------------
>
>                 Key: S4-14
>                 URL: https://issues.apache.org/jira/browse/S4-14
>             Project: Apache S4
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>             Fix For: 0.5
>
>
> Currently, different listeners behave differently on receiving an InterruptedException
while blocking on recv(). Some return null, while some throw a RuntimeException.
> I feel returning a null makes more sense - (1) There might be cases requiring a subsequent
call to recv(), (2) Easier to understand/analyze for the application-programmer.
> Comments?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message