Pip Cet created JENA-1656:
-----------------------------

             Summary: Make DatasetGraphMonitor transaction-aware
                 Key: JENA-1656
                 URL: https://issues.apache.org/jira/browse/JENA-1656
             Project: Apache Jena
          Issue Type: Improvement
          Components: ARQ
    Affects Versions: Jena 3.10.0
            Reporter: Pip Cet


In order to implement continuously-updated query result streams, I used a 
DatasetGraphMonitor to monitor when the relevant part of the dataset graph 
changed in order to re-run the query. However, there was a race condition 
because DatasetGraphMonitor informs its monitor of uncommitted changes; the 
query would be repeated too soon, meaning the changes would be missed.

Adding the commit() method to the DatasetChanges interface and using it seems 
to avoid this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to