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

Jerry Cwiklik updated UIMA-1173:
--------------------------------

    Attachment: uimaj-as-jms-UIMA-1173-patch.txt

Modified Uima AS client code to queue requests for a CAS. Each thread 
requesting a CAS will add its request to a queue. When a CAS becomes available, 
the oldest thread is selected from the queue and allowed to use the CAS for 
processing. 

> BaseUIMAAsynchronousEngine_impl.getCAS() should queue requests
> --------------------------------------------------------------
>
>                 Key: UIMA-1173
>                 URL: https://issues.apache.org/jira/browse/UIMA-1173
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Eddie Epstein
>         Attachments: uimaj-as-jms-UIMA-1173-patch.txt
>
>
> BaseUIMAAsynchronousEngine_impl.getCAS() blocks until a CAS is available. 
> If multiple threads are blocked, which one gets the next CAS is 
> nondeterministic.
> In order to guarantee quality of service it is important to return CASes in 
> the order
> they were requested.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to