类 CustomizableThreadFactory

java.lang.Object
cn.taketoday.util.CustomizableThreadCreator
cn.taketoday.scheduling.concurrent.CustomizableThreadFactory
所有已实现的接口:
Serializable, ThreadFactory
直接已知子类:
DefaultManagedAwareThreadFactory, ExecutorConfigurationSupport

public class CustomizableThreadFactory extends cn.taketoday.util.CustomizableThreadCreator implements ThreadFactory
Implementation of the ThreadFactory interface, allowing for customizing the created threads (name, priority, etc).

See the base class CustomizableThreadCreator for details on the available configuration options.

从以下版本开始:
4.0
作者:
Juergen Hoeller
另请参阅:
  • CustomizableThreadCreator.setThreadNamePrefix(java.lang.String)
  • CustomizableThreadCreator.setThreadPriority(int)
  • 序列化表格
  • 构造器概要

    构造器
    构造器
    说明
    Create a new CustomizableThreadFactory with default thread name prefix.
    Create a new CustomizableThreadFactory with the given thread name prefix.
  • 方法概要

    修饰符和类型
    方法
    说明
    newThread(Runnable runnable)
     

    从类继承的方法 cn.taketoday.util.CustomizableThreadCreator

    createThread, getDefaultThreadNamePrefix, getThreadGroup, getThreadNamePrefix, getThreadPriority, isDaemon, nextThreadName, setDaemon, setThreadGroup, setThreadGroupName, setThreadNamePrefix, setThreadPriority

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • CustomizableThreadFactory

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

      public CustomizableThreadFactory(String threadNamePrefix)
      Create a new CustomizableThreadFactory with the given thread name prefix.
      参数:
      threadNamePrefix - the prefix to use for the names of newly created threads
  • 方法详细资料