Class ExceptionLoggingThreadFactory

  • All Implemented Interfaces:
    java.util.concurrent.ThreadFactory

    public class ExceptionLoggingThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionLoggingThreadFactory​(java.lang.String threadGroupName, org.slf4j.Logger logger)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Thread newThread​(java.lang.Runnable r)  
      • Methods inherited from class java.lang.Object

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

      • ExceptionLoggingThreadFactory

        public ExceptionLoggingThreadFactory​(java.lang.String threadGroupName,
                                             org.slf4j.Logger logger)
    • Method Detail

      • newThread

        public java.lang.Thread newThread​(java.lang.Runnable r)
        Specified by:
        newThread in interface java.util.concurrent.ThreadFactory