@Override public void init() throws Exception { global_thread_factory = new DefaultThreadFactory("Geode ", true); timer_thread_factory = new LazyThreadFactory(THREAD_POOL_NAME_PREFIX + " Timer", true, true); default_thread_factory = new DefaultThreadFactory(THREAD_POOL_NAME_PREFIX + " Incoming", true, true); oob_thread_factory = new DefaultThreadFactory(THREAD_POOL_NAME_PREFIX + " OOB", true, true); internal_thread_factory = new DefaultThreadFactory(THREAD_POOL_NAME_PREFIX + " INT", true, true); super.init(); }
thread_factory=new LazyThreadFactory("jgroups", false, true); internal_thread_factory=new LazyThreadFactory("jgroups-int", false, true);
@Override public void init() throws Exception { global_thread_factory=new DefaultThreadFactory("Geode ", true); timer_thread_factory=new LazyThreadFactory(THREAD_POOL_NAME_PREFIX + " Timer", true, true); default_thread_factory=new DefaultThreadFactory(THREAD_POOL_NAME_PREFIX + " Incoming", true, true); oob_thread_factory=new DefaultThreadFactory(THREAD_POOL_NAME_PREFIX + " OOB", true, true); internal_thread_factory=new DefaultThreadFactory(THREAD_POOL_NAME_PREFIX + " INT", true, true); super.init(); }
thread_factory=new LazyThreadFactory("jgroups", false, true); internal_thread_factory=new LazyThreadFactory("jgroups-int", false, true);
if (timerFactory == null) timerFactory = new LazyThreadFactory(Util.getGlobalThreadGroup(), "Timer", true, true); tp.setTimerThreadFactory(timerFactory);