Class NamedDaemonThreadFactory

java.lang.Object
com.vaadin.base.devserver.NamedDaemonThreadFactory
All Implemented Interfaces:
ThreadFactory

public class NamedDaemonThreadFactory extends Object implements ThreadFactory
A factory for creating daemon threads with custom naming conventions, used to generate threads with a predefined naming pattern.

This class implements the ThreadFactory interface to provide a mechanism for instantiating threads that are configured with specific attributes such as name prefix, thread priority, and daemon status.
  • Constructor Details

    • NamedDaemonThreadFactory

      public NamedDaemonThreadFactory(String namePrefix)
      Constructs a new NamedDaemonThreadFactory with the specified name prefix for the threads created by this factory.
      Parameters:
      namePrefix - the prefix to be used for naming threads created by this factory, not null.
  • Method Details