Apache Ignite - Pool size in Executor

柔情痞子 提交于 2019-12-04 06:23:55

问题


I am trying to use cluster based executor service.

// Get cluster-enabled executor service. ExecutorService exec = ignite.executorService();

Is there anyway to set the number of threads in the executor service pool?

Hope, Jobs will be executed in each node in a cluster in a round robin fashion.

Thanks


回答1:


Jobs submitter to distributed executor service are executed in a public thread pool. Its size can be configured via IgniteConfiguration.publicThreadPoolSize configuration property. Note that the size is specified per node.



来源:https://stackoverflow.com/questions/41960996/apache-ignite-pool-size-in-executor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!