incubator-s4-dev mailing list archives

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

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

Matthieu Morel updated S4-14:
-----------------------------

    Affects Version/s: 0.5
        Fix Version/s: 0.5
    
> 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