Executor Service Configuration

The following are the example configurations.


<executor-service name="exec">


Config config = new Config();
ExecutorConfig executorConfig = config.getExecutorConfig();
executorConfig.setPoolSize( "1" ).setQueueCapacity( "10" )
          .setStatisticsEnabled( true );

It has below elements.

  • pool-size: The number of executor threads per Member for the Executor.
  • queue-capacity: Executor's task queue capacity.
  • statistics-enabled: Some statistics like pending operations count, started operations count, completed operations count, cancelled operations count can be retrieved by setting this parameter's value as true. The method for retrieving the statistics is getLocalExecutorStats().