public void rejectedExecution(Runnable r,
ThreadPoolExecutor executor) {
logger.warn("Rejected execution of {} by executor with {} current threads in the pool", r.getClass().getName(), executor.getPoolSize());
}
});
tpRemotingExecutorService.prestartAllCoreThreads();
remotingExecutorService = tpRemotingExecutorService;
eventProcessor = new EventProcessor();
eventProcessor.start();