Class KernelRunner.ThreadDiedHandler

  • All Implemented Interfaces:
    java.lang.Thread.UncaughtExceptionHandler
    Enclosing class:
    KernelRunner

    private class KernelRunner.ThreadDiedHandler
    extends java.lang.Object
    implements java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicLong threadsDiedCounter  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ThreadDiedHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void uncaughtException​(java.lang.Thread t, java.lang.Throwable e)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • threadsDiedCounter

        private java.util.concurrent.atomic.AtomicLong threadsDiedCounter
    • Constructor Detail

      • ThreadDiedHandler

        private ThreadDiedHandler()
    • Method Detail

      • uncaughtException

        public void uncaughtException​(java.lang.Thread t,
                                      java.lang.Throwable e)
        Specified by:
        uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler