Class NamedThreadFactory

java.lang.Object
org.antublue.test.engine.internal.util.NamedThreadFactory
All Implemented Interfaces:
ThreadFactory

public final class NamedThreadFactory extends Object implements ThreadFactory
Class to implement a named ThreadFactory
  • Constructor Details

    • NamedThreadFactory

      public NamedThreadFactory(String format)
      Constructor
      Parameters:
      format - format
  • Method Details

    • newThread

      public Thread newThread(Runnable runnable)
      Method to create a new Thread
      Specified by:
      newThread in interface ThreadFactory
      Parameters:
      runnable - a runnable to be executed by new thread instance
      Returns:
      the Thread