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

Listener.recv() behavior when interrupted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Labels:
      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

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

              Dates

              • Due:
                Created:
                Updated:
                Resolved: