}
private int handleExecutorService(MemberStateImpl memberState, int count, Config config, IExecutorService executorService) {
if (config.findExecutorConfig(executorService.getName()).isStatisticsEnabled()) {
LocalExecutorStatsImpl stats = (LocalExecutorStatsImpl) executorService.getLocalExecutorStats();
memberState.putLocalExecutorStats(executorService.getName(), stats);
return count + 1;
}
return count;
}