org.springframework.scheduling.concurrent

Class CustomizableThreadFactory

    • Constructor Detail

      • CustomizableThreadFactory

        public CustomizableThreadFactory()
        Create a new CustomizableThreadFactory with default thread name prefix.
      • CustomizableThreadFactory

        public CustomizableThreadFactory(java.lang.String threadNamePrefix)
        Create a new CustomizableThreadFactory with the given thread name prefix.
        Parameters:
        threadNamePrefix - the prefix to use for the names of newly created threads
    • Method Detail

      • newThread

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