EventServiceImpl(NodeEngineImpl nodeEngine) {
this.nodeEngine = nodeEngine;
logger = nodeEngine.getLogger(EventService.class.getName());
final Node node = nodeEngine.getNode();
GroupProperties groupProperties = node.getGroupProperties();
eventThreadCount = groupProperties.EVENT_THREAD_COUNT.getInteger();
eventQueueCapacity = groupProperties.EVENT_QUEUE_CAPACITY.getInteger();
eventQueueTimeoutMs = groupProperties.EVENT_QUEUE_TIMEOUT_MILLIS.getInteger();
eventExecutor = new StripedExecutor(nodeEngine.executionService.getCachedExecutor(), eventThreadCount, eventQueueCapacity);
segments = new ConcurrentHashMap<String, EventServiceSegment>();