[
https://issues.apache.org/jira/browse/IGNITE-4699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15950946#comment-15950946
]
ASF GitHub Bot commented on IGNITE-4699:
----------------------------------------
GitHub user tledkov-gridgain opened a pull request:
https://github.com/apache/ignite/pull/1718
IGNITE-4699 Introduce custom configurable executors.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-4699
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1718.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1718
----
commit 421dd941ce601ddae3a0e370024f90561dd3bb8a
Author: tledkov-gridgain <[email protected]>
Date: 2017-03-31T08:08:11Z
IGNITE-4699: save the progress
commit b4e7542fd2f4cc14b530a9f37983697c47687abe
Author: tledkov-gridgain <[email protected]>
Date: 2017-03-31T09:02:32Z
IGNITE-4699: save the progress
commit 99c3c7c13c9833a6e7f963359c2f02db6b00228c
Author: tledkov-gridgain <[email protected]>
Date: 2017-03-31T09:02:38Z
Merge branch '_master' into ignite-4699
commit 0abf4bf99f422dd8167777d632a884442d0ecd3a
Author: tledkov-gridgain <[email protected]>
Date: 2017-03-31T14:04:50Z
IGNITE-4699: save the progress
----
> Introduce custom configurable executors.
> ----------------------------------------
>
> Key: IGNITE-4699
> URL: https://issues.apache.org/jira/browse/IGNITE-4699
> Project: Ignite
> Issue Type: Task
> Components: compute
> Reporter: Vladimir Ozerov
> Assignee: Alexander Menshikov
> Labels: important
> Fix For: 2.0
>
>
> We need to provide a way to configure custom thread pools for user compute
> tasks.
> Proposed API:
> 1) Config
> {code}
> class ExecutorConfiguration {
> String name;
> int size;
> }
> {code}
> 2) Choosing executor for compute task:
> {code}
> IgniteCompute compute = Ignite.compute().withExecutor("my_exec");
> {code}
> 3) Accessing raw executor (could be required for proper execution of future
> listeners):
> {code}
> ThreadPoolExecutor exec = ignite.compute().localExecutor("my_exec");
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)