[ 
https://issues.apache.org/jira/browse/JDO-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818206#comment-17818206
 ] 

Eric Zoerner commented on JDO-838:
----------------------------------

The current javadoc for cancelAll() does sound like it cancels _all_ queries, 
not just executions for this instance of Query. The spec is not any clearer 
than the javadocs.

It looks like the reference implementation (datanucleus) only cancels 
executions of _this_ {_}query{_}, both for cancelAll() and cancel(Thread). So I 
agree with your change to the javadocs. There also should probably be a 
clarification in cancel(Thread)

> Clarify doc for query cancel()/cancelAll()
> ------------------------------------------
>
>                 Key: JDO-838
>                 URL: https://issues.apache.org/jira/browse/JDO-838
>             Project: JDO
>          Issue Type: Improvement
>          Components: api, specification
>    Affects Versions: JDO 3.2, JDO 3.2.1
>            Reporter: Tilmann Zäschke
>            Priority: Major
>             Fix For: JDO 3.2.2
>
>
> The documentation (javadoc + spec) should be updated to clarify what the 
> argument of cancel() is and what cancelAll() does. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to