Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1391

Client of a CAS Multiplier should be able to stop processing of a CAS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3AS
    • Async Scaleout
    • None

    Description

      Normally the number of CASes generated by a Cas Multiplier is determined by the CM itself, but with an aggregate CM that number may be hard to anticipate or control. Some applications may not need all of the generated CASes ... they may be satisfied once an appropriate amount of information has been returned.
      Hence it would be convenient for the client to be able to request that the CM stop generating CASes, and if an aggregate, stop processing any internal CASes generated from the input CAS. Such a request is probably only useful for CMs acting as pure segmenters ... if the CM is merging CASes or resegmenting them then the process could be terminated by the application upon receiving an end-of-stream CAS. It might be an acceptable simplification to have the stop request stop all processing of active CASes, but then again it may be easily handled by the changes being made to stop an aggregate CM when a generated CAS produces an exception.

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            burn Burn L. Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: