incubator-s4-dev mailing list archives

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

                 Key: S4-14
                 URL: https://issues.apache.org/jira/browse/S4-14
             Project: Apache S4
          Issue Type: Bug
            Reporter: Karthik Kambatla
            Assignee: Karthik Kambatla


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