Uploaded image for project: 'Apache S4'
  1. Apache S4
  2. S4-14

Listener.recv() behavior when interrupted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • None

    Description

      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?

      Attachments

        Activity

          People

            kasha Karthik Kambatla
            kasha Karthik Kambatla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: