You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2011/09/21 20:49:09 UTC

[jira] [Created] (UIMA-2231) UIMA AS client should handle InterruptedException while blocking in sendAndReceive()

UIMA AS client should handle InterruptedException while blocking in sendAndReceive()
------------------------------------------------------------------------------------

                 Key: UIMA-2231
                 URL: https://issues.apache.org/jira/browse/UIMA-2231
             Project: UIMA
          Issue Type: New Feature
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
            Priority: Minor
             Fix For: 2.3.2AS


UIMA AS doesnt (gracefully) handle InterruptedException while blocking in sendAndReceive() method. An application may want to interrupt a thread stuck in sendAndReceive after some time and this should be supported. Catch the InterruptedException, cancel a timer associated with a CAS sendAndReceive() is waiting for, and throw ResourceProcessException from in sendAndReceive() with a cause:InterruptedException.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (UIMA-2231) UIMA AS client should handle InterruptedException while blocking in sendAndReceive()

Posted by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-2231.
-------------------------------

    Resolution: Fixed

> UIMA AS client should handle InterruptedException while blocking in sendAndReceive()
> ------------------------------------------------------------------------------------
>
>                 Key: UIMA-2231
>                 URL: https://issues.apache.org/jira/browse/UIMA-2231
>             Project: UIMA
>          Issue Type: New Feature
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>            Priority: Minor
>             Fix For: 2.3.2AS
>
>
> UIMA AS doesnt (gracefully) handle InterruptedException while blocking in sendAndReceive() method. An application may want to interrupt a thread stuck in sendAndReceive after some time and this should be supported. Catch the InterruptedException, cancel a timer associated with a CAS sendAndReceive() is waiting for, and throw ResourceProcessException from in sendAndReceive() with a cause:InterruptedException.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira