Class ThreadFactoryManufacturer


  • public class ThreadFactoryManufacturer
    extends java.lang.Object
    Manufactures ThreadFactory.
    Author:
    Daniel Sagenschneider
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.ThreadFactory manufactureThreadFactory​(java.lang.String name, Executive executive)
      Manufactures a new ThreadFactory.
      • Methods inherited from class java.lang.Object

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

      • ThreadFactoryManufacturer

        public ThreadFactoryManufacturer​(ManagedExecutionFactory executionFactory,
                                         java.util.function.Consumer<java.lang.Thread> decorator)
        Instantiate.
        Parameters:
        executionFactory - ManagedExecutionFactory.
        decorator - Decorator of the created Thread instances. May be null.
    • Method Detail

      • manufactureThreadFactory

        public java.util.concurrent.ThreadFactory manufactureThreadFactory​(java.lang.String name,
                                                                           Executive executive)
        Manufactures a new ThreadFactory.
        Parameters:
        name - Name for the Thread instances created from the ThreadFactory.
        executive - Executive.
        Returns:
        ThreadFactory.