@Override public void onFatalError(Exception e) { HazelcastThreadGroup threadGroup = node.getHazelcastThreadGroup(); Thread thread = new Thread( threadGroup.getInternalThreadGroup(), threadGroup.getThreadNamePrefix("io.error.shutdown")) { public void run() { node.shutdown(false); } }; thread.start(); }
private InvocationMonitorThread(Runnable task, HazelcastThreadGroup hzThreadGroup) { super( hzThreadGroup.getInternalThreadGroup(), task, hzThreadGroup.getThreadNamePrefix("InvocationMonitorThread")); }
@Override public ThreadGroup getThreadGroup() { HazelcastThreadGroup threadGroup = node.getHazelcastThreadGroup(); return threadGroup.getInternalThreadGroup(); }
@Override public String getThreadPrefix() { HazelcastThreadGroup threadGroup = node.getHazelcastThreadGroup(); return threadGroup.getThreadPoolNamePrefix("IO"); }