Pavel Pereslegin created IGNITE-24477:
-----------------------------------------

             Summary: Sql. Add ability to define executor that will be used for 
public script execution
                 Key: IGNITE-24477
                 URL: https://issues.apache.org/jira/browse/IGNITE-24477
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Pavel Pereslegin


Currently public script execution uses ForkJoinPool for async execution.

{code:java}
    if (cursor.hasNextResult()) {
        cursor.nextResult().whenCompleteAsync(this::processCursor);
        return;
    }
{code}

For example, thin client accepts user specified executor for... something (see 
IgniteClient.Builder.asyncContinuationExecutor(...)).

Perhaps it is worth adding ability to define pool for async processing in the 
embedded client.




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

Reply via email to