Esempio n. 1
0
 @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"));
 }
Esempio n. 3
0
 @Override
 public ThreadGroup getThreadGroup() {
   HazelcastThreadGroup threadGroup = node.getHazelcastThreadGroup();
   return threadGroup.getInternalThreadGroup();
 }
Esempio n. 4
0
 @Override
 public String getThreadPrefix() {
   HazelcastThreadGroup threadGroup = node.getHazelcastThreadGroup();
   return threadGroup.getThreadPoolNamePrefix("IO");
 }