Thanks Sergi, I've forgot about that. There is no explicit way to close
cursor in C++ though. Instead it will be automatically closed, once all
instances of related QueryCursor are destroyed. Maybe we should add
explicit 'close()' method.

Best Regards,
Igor

On Mon, May 22, 2017 at 2:18 PM, Sergi Vladykin <[email protected]>
wrote:

> Actually in java you can close the cursor from another thread.
>
> https://ignite.apache.org/releases/latest/javadoc/org/
> apache/ignite/cache/query/QueryCursor.html#close()
>
> Sergi
>
> 2017-05-22 14:10 GMT+03:00 Igor Sapego <[email protected]>:
>
>> Well, there is no public API for this even in Java. There is internal
>> API though, that can be used for that. If you think we should add
>> public API for this, feel free to start discussion on dev list.
>>
>> Best Regards,
>> Igor
>>
>> On Fri, May 19, 2017 at 10:04 PM, tolga <[email protected]> wrote:
>>
>>> Thank you.
>>>
>>> While timeout mechanism is fine it would be great if there is a way to
>>> explicitly abort instantly if it is possible.
>>>
>>>
>>>
>>> --
>>> View this message in context: http://apache-ignite-users.705
>>> 18.x6.nabble.com/C-Cancelling-Long-Query-tp12997p13037.html
>>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>>
>>
>>
>

Reply via email to